CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2023/01/10 21:39:42
Modified files:
lib/libcrypto/dsa: dsa_ameth.c dsa_gen.c dsa_ossl.c
Log message:
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@