diff options
author | jsing <> | 2023-03-08 07:15:42 +0000 |
---|---|---|
committer | jsing <> | 2023-03-08 07:15:42 +0000 |
commit | a9053eeb0dddcd10f68251cfdba532d795c2f56c (patch) | |
tree | a9cb7411e3cd8b677a7801da6449e9aa2a1d7cb6 /src/lib | |
parent | b1fe5617fffbecf9cdee2b735a68f6ef9598048b (diff) | |
download | openbsd-a9053eeb0dddcd10f68251cfdba532d795c2f56c.tar.gz openbsd-a9053eeb0dddcd10f68251cfdba532d795c2f56c.tar.bz2 openbsd-a9053eeb0dddcd10f68251cfdba532d795c2f56c.zip |
Fix a EC_GROUP_clear_free() that snuck through.
Thanks to Mark Patruck for reporting.
Diffstat (limited to 'src/lib')
-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 | } |