artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f91740
)
Fix a EC_GROUP_clear_free() that snuck through.
author
jsing
<jsing@openbsd.org>
Wed, 8 Mar 2023 07:15:42 +0000
(07:15 +0000)
committer
jsing
<jsing@openbsd.org>
Wed, 8 Mar 2023 07:15:42 +0000
(07:15 +0000)
Thanks to Mark Patruck for reporting.
lib/libcrypto/ec/ec_cvt.c
patch
|
blob
|
history
diff --git
a/lib/libcrypto/ec/ec_cvt.c
b/lib/libcrypto/ec/ec_cvt.c
index
fff9ab9
..
30e843e
100644
(file)
--- 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;
}