diff options
author | tb <> | 2024-12-16 06:11:26 +0000 |
---|---|---|
committer | tb <> | 2024-12-16 06:11:26 +0000 |
commit | bbb1460f03b011099930814d5c0e38c60fb6dc84 (patch) | |
tree | c7f3921c32e77004042972fdca02e8ffcd2bacbf /src/lib/libcrypto/dsa/dsa_lib.c | |
parent | eebf1eabd1358d87cf8dfd8bd9bf3b595b484203 (diff) | |
download | openbsd-bbb1460f03b011099930814d5c0e38c60fb6dc84.tar.gz openbsd-bbb1460f03b011099930814d5c0e38c60fb6dc84.tar.bz2 openbsd-bbb1460f03b011099930814d5c0e38c60fb6dc84.zip |
Simplify ec_point_to_octets()
This had an extra dance to allow a NULL output buffer. The plan was to
use this in i2o_ECPublicKey() to preserve the behavior of avoiding an
allocation if out == NULL. However, when I rewrote the latter I punted
on preserving that complication, as it was already batshit crazy enough.
Thus, remove said dance and make ec_point_to_octets() cleaner.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_lib.c')
0 files changed, 0 insertions, 0 deletions