diff options
Diffstat (limited to 'src/lib/libcrypto/ec/ec_cvt.c')
-rw-r--r-- | src/lib/libcrypto/ec/ec_cvt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ec_cvt.c b/src/lib/libcrypto/ec/ec_cvt.c index fff9ab99cb..30e843e682 100644 --- a/src/lib/libcrypto/ec/ec_cvt.c +++ b/src/lib/libcrypto/ec/ec_cvt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_cvt.c,v 1.9 2023/03/08 05:35:51 jsing Exp $ */ | 1 | /* $OpenBSD: ec_cvt.c,v 1.10 2023/03/08 07:15:42 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Originally written by Bodo Moeller for the OpenSSL project. | 3 | * Originally written by Bodo Moeller for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -89,7 +89,7 @@ ec_group_new_curve(const EC_METHOD *method, const BIGNUM *p, const BIGNUM *a, | |||
89 | return group; | 89 | return group; |
90 | 90 | ||
91 | err: | 91 | err: |
92 | EC_GROUP_clear_free(group); | 92 | EC_GROUP_free(group); |
93 | 93 | ||
94 | return NULL; | 94 | return NULL; |
95 | } | 95 | } |