CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2023/03/07 22:45:31
Modified files: lib/libcrypto/ec: ec.h ec2_smpl.c ec_asn1.c ec_lib.c ec_local.h ec_mult.c ec_print.c ecp_mont.c ecp_nist.c ecp_smpl.c Log message: Always clear EC groups and points on free. Rather than sometimes clearing, turn the free functions into ones that always clear (as we've done elsewhere). Turn the EC_GROUP_clear_free() and EC_POINT_clear_free() functions into wrappers that call the *_free() version. Do similar for the EC_METHOD implementations, removing the group_clear_finish() and point_clear_finish() hooks in the process. ok tb@