diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2023-03-08 07:15:43 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2023-03-08 07:15:43 +0000 |
commit | 5e9f5961be4575fa26b7e016e77fc9b354dc89a0 (patch) | |
tree | 2d3db0598c62b346fd9a88615a55a37bb7bf223e /lib/libcrypto/ec | |
parent | 382b93dab8b544a81e29e547fa0c40511bb97667 (diff) |
Fix a EC_GROUP_clear_free() that snuck through.
Thanks to Mark Patruck for reporting.
Diffstat (limited to 'lib/libcrypto/ec')
-rw-r--r-- | lib/libcrypto/ec/ec_cvt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/ec/ec_cvt.c b/lib/libcrypto/ec/ec_cvt.c index fff9ab99cbd..30e843e6825 100644 --- a/lib/libcrypto/ec/ec_cvt.c +++ b/lib/libcrypto/ec/ec_cvt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_cvt.c,v 1.9 2023/03/08 05:35:51 jsing Exp $ */ +/* $OpenBSD: ec_cvt.c,v 1.10 2023/03/08 07:15:42 jsing Exp $ */ /* * Originally written by Bodo Moeller for the OpenSSL project. */ @@ -89,7 +89,7 @@ ec_group_new_curve(const EC_METHOD *method, const BIGNUM *p, const BIGNUM *a, return group; err: - EC_GROUP_clear_free(group); + EC_GROUP_free(group); return NULL; } |