diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-11-08 01:33:21 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-11-08 01:33:21 +0000 |
commit | 69188e65c7dc736b89c2758afde13514228b7c35 (patch) | |
tree | f3cd371945f90ee71fd64bd77a423a56afb5aa6a /lib | |
parent | 63467ca92b1bddfa693f120b4178c1476c3c8a0f (diff) |
Ugh. Don't return the group after freeing it
CID 514612
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/ec/ec_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/ec/ec_lib.c b/lib/libcrypto/ec/ec_lib.c index b961a2e17c6..f409df1a7ba 100644 --- a/lib/libcrypto/ec/ec_lib.c +++ b/lib/libcrypto/ec/ec_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_lib.c,v 1.83 2024/11/06 09:14:40 tb Exp $ */ +/* $OpenBSD: ec_lib.c,v 1.84 2024/11/08 01:33:20 tb Exp $ */ /* * Originally written by Bodo Moeller for the OpenSSL project. */ @@ -200,7 +200,7 @@ EC_GROUP_dup(const EC_GROUP *in_group) err: EC_GROUP_free(group); - return group; + return NULL; } LCRYPTO_ALIAS(EC_GROUP_dup); |