summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec_local.h
diff options
context:
space:
mode:
authortb <>2025-01-01 09:57:02 +0000
committertb <>2025-01-01 09:57:02 +0000
commit183ebcd147bfd493e4856f28b1ff4c9c6dbd0730 (patch)
tree9af62a1a58881fed0768c163faef515fca142874 /src/lib/libcrypto/ec/ec_local.h
parent4f4db522b10347e779e635569d9938a60931b0d1 (diff)
downloadopenbsd-183ebcd147bfd493e4856f28b1ff4c9c6dbd0730.tar.gz
openbsd-183ebcd147bfd493e4856f28b1ff4c9c6dbd0730.tar.bz2
openbsd-183ebcd147bfd493e4856f28b1ff4c9c6dbd0730.zip
Garbage collect .group_init()
For both in-tree methods these are just complicated ways of zeroing part of the group object. The group is allocated with calloc(), so it's all entirely pointless. ok jsing
Diffstat (limited to 'src/lib/libcrypto/ec/ec_local.h')
-rw-r--r--src/lib/libcrypto/ec/ec_local.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h
index ea1cd7adad..bce3f31d4d 100644
--- a/src/lib/libcrypto/ec/ec_local.h
+++ b/src/lib/libcrypto/ec/ec_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_local.h,v 1.43 2024/12/12 10:00:15 tb Exp $ */ 1/* $OpenBSD: ec_local.h,v 1.44 2025/01/01 09:57:02 tb 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 */
@@ -88,7 +88,6 @@ __BEGIN_HIDDEN_DECLS
88struct ec_method_st { 88struct ec_method_st {
89 int field_type; 89 int field_type;
90 90
91 int (*group_init)(EC_GROUP *);
92 void (*group_finish)(EC_GROUP *); 91 void (*group_finish)(EC_GROUP *);
93 int (*group_copy)(EC_GROUP *, const EC_GROUP *); 92 int (*group_copy)(EC_GROUP *, const EC_GROUP *);
94 93