diff options
author | jsing <> | 2023-01-11 04:39:42 +0000 |
---|---|---|
committer | jsing <> | 2023-01-11 04:39:42 +0000 |
commit | 74f1269e0cf9abe4f2b70a0ba26461fafac75cd2 (patch) | |
tree | 5fe3fd82569c7f9e8a9a1295ec3fda45956a6144 /src/regress | |
parent | e4eca83b70194cd4d7b511bbdb16dec48f17bf00 (diff) | |
download | openbsd-74f1269e0cf9abe4f2b70a0ba26461fafac75cd2.tar.gz openbsd-74f1269e0cf9abe4f2b70a0ba26461fafac75cd2.tar.bz2 openbsd-74f1269e0cf9abe4f2b70a0ba26461fafac75cd2.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/regress')
0 files changed, 0 insertions, 0 deletions