diff options
author | jsing <> | 2023-03-08 05:45:31 +0000 |
---|---|---|
committer | jsing <> | 2023-03-08 05:45:31 +0000 |
commit | f59a5e932baaa204327818534b8c93267c20bed0 (patch) | |
tree | 96a3d2dbc6ef11df6851b53d3d2e1c46dd7f2328 /src/lib/libcrypto/mem_clr.c | |
parent | 49f24f2af100d1cc94534c31f0db0ac8072ee4ac (diff) | |
download | openbsd-f59a5e932baaa204327818534b8c93267c20bed0.tar.gz openbsd-f59a5e932baaa204327818534b8c93267c20bed0.tar.bz2 openbsd-f59a5e932baaa204327818534b8c93267c20bed0.zip |
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@
Diffstat (limited to 'src/lib/libcrypto/mem_clr.c')
0 files changed, 0 insertions, 0 deletions