Call BN_free() instead of BN_clear_free().
authorjsing <jsing@openbsd.org>
Tue, 7 Mar 2023 09:27:10 +0000 (09:27 +0000)
committerjsing <jsing@openbsd.org>
Tue, 7 Mar 2023 09:27:10 +0000 (09:27 +0000)
commitc11f785522f27114af2285067053266fdb327ba0
tree1cbfc1aa171678ffbd28add2d4a4a45d88a14820
parenta64c693ddd8950ecb7242ffc3d6597444d743874
Call BN_free() instead of BN_clear_free().

BN_clear_free() is a wrapper that calls BN_free() - call BN_free() directly
instead.

ok tb@
15 files changed:
lib/libcrypto/bn/bn_blind.c
lib/libcrypto/bn/bn_sqrt.c
lib/libcrypto/dh/dh_lib.c
lib/libcrypto/dsa/dsa_asn1.c
lib/libcrypto/dsa/dsa_lib.c
lib/libcrypto/ec/ec2_smpl.c
lib/libcrypto/ec/ec_key.c
lib/libcrypto/ec/ec_lib.c
lib/libcrypto/ec/ec_print.c
lib/libcrypto/ec/ecp_smpl.c
lib/libcrypto/ecdsa/ecs_asn1.c
lib/libcrypto/ecdsa/ecs_lib.c
lib/libcrypto/ecdsa/ecs_ossl.c
lib/libcrypto/gost/gostr341001_key.c
lib/libcrypto/rsa/rsa_lib.c