summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_asn1.c
diff options
context:
space:
mode:
authorjsing <>2023-01-14 15:10:45 +0000
committerjsing <>2023-01-14 15:10:45 +0000
commit40c0a96eeacc963ea7c4a0e268250e2121c5e7dc (patch)
tree63af6ad68d1d4d138e55e626701feb329bf8d741 /src/lib/libcrypto/dsa/dsa_asn1.c
parent25c59400a04e7301aaa6acb604b5ebef9d2f4cf1 (diff)
downloadopenbsd-40c0a96eeacc963ea7c4a0e268250e2121c5e7dc.tar.gz
openbsd-40c0a96eeacc963ea7c4a0e268250e2121c5e7dc.tar.bz2
openbsd-40c0a96eeacc963ea7c4a0e268250e2121c5e7dc.zip
Clean up and simplify EC_KEY handling, mostly from a BN_CTX perspective.
If we have a BN_CTX available, make use of it rather than calling BN_new(). Always allocate a new priv_key and pub_key, rather than having complex reuse dances on entry and exit. Add missing BN_CTX_start()/BN_CTX_end() calls. ok tb@
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_asn1.c')
0 files changed, 0 insertions, 0 deletions