summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/a_bitstr.c
diff options
context:
space:
mode:
authorjsing <>2023-01-11 04:39:42 +0000
committerjsing <>2023-01-11 04:39:42 +0000
commitcd1a65dd1e9be3139dda409d94127a6d78bdc477 (patch)
tree5fe3fd82569c7f9e8a9a1295ec3fda45956a6144 /src/lib/libcrypto/asn1/a_bitstr.c
parenteb6711ff03a552477038555c20ec570d7d13bc2b (diff)
downloadopenbsd-cd1a65dd1e9be3139dda409d94127a6d78bdc477.tar.gz
openbsd-cd1a65dd1e9be3139dda409d94127a6d78bdc477.tar.bz2
openbsd-cd1a65dd1e9be3139dda409d94127a6d78bdc477.zip
Clean up and simplify BIGNUM handling in DSA code.
This adds missing BN_CTX_start()/BN_CTX_end() calls, removes NULL checks before BN_CTX_end()/BN_CTX_free() (since they're NULL safe) and calls BN_free() instead of BN_clear_free() (which does the same thing). Also replace stack allocated BIGNUMs with calls to BN_CTX_get(), using the BN_CTX that is already available. ok tb@
Diffstat (limited to 'src/lib/libcrypto/asn1/a_bitstr.c')
0 files changed, 0 insertions, 0 deletions