summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/stack
diff options
context:
space:
mode:
authortb <>2024-12-16 06:11:26 +0000
committertb <>2024-12-16 06:11:26 +0000
commitb19d3762a5c9d4830000c9ee4a3b5562f5007ad4 (patch)
treec7f3921c32e77004042972fdca02e8ffcd2bacbf /src/lib/libcrypto/stack
parentd58b796ca7988e98492204651c5af157949d8308 (diff)
downloadopenbsd-b19d3762a5c9d4830000c9ee4a3b5562f5007ad4.tar.gz
openbsd-b19d3762a5c9d4830000c9ee4a3b5562f5007ad4.tar.bz2
openbsd-b19d3762a5c9d4830000c9ee4a3b5562f5007ad4.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/stack')
0 files changed, 0 insertions, 0 deletions