diff options
author | jsing <> | 2023-01-11 04:39:42 +0000 |
---|---|---|
committer | jsing <> | 2023-01-11 04:39:42 +0000 |
commit | cd1a65dd1e9be3139dda409d94127a6d78bdc477 (patch) | |
tree | 5fe3fd82569c7f9e8a9a1295ec3fda45956a6144 /src/lib/libcrypto/asn1/a_bitstr.c | |
parent | eb6711ff03a552477038555c20ec570d7d13bc2b (diff) | |
download | openbsd-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