summaryrefslogtreecommitdiff
path: root/lib/libcrypto/ec
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-10-03 06:24:08 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-10-03 06:24:08 +0000
commit8e1d85a444167fe67b166514f7b56a033f0d14b7 (patch)
treed0182e98ebdde50c6e1d26dd034ed19e3d2957f9 /lib/libcrypto/ec
parent502a417c1708cb50ea01540d585a65cfd1e5d56c (diff)
Remove the unused field_mod_func from EC_GROUP
This was only used by the NIST method. For all other group methods it's an uninitialized pointer (as EC_GROUP_new() still uses the malloc + set all members to 0 idiom). ok jsing
Diffstat (limited to 'lib/libcrypto/ec')
-rw-r--r--lib/libcrypto/ec/ec_local.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libcrypto/ec/ec_local.h b/lib/libcrypto/ec/ec_local.h
index 6ea78eaac4c..c2befdede7e 100644
--- a/lib/libcrypto/ec/ec_local.h
+++ b/lib/libcrypto/ec/ec_local.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ec_local.h,v 1.27 2023/11/29 21:35:57 tb Exp $ */
+/* $OpenBSD: ec_local.h,v 1.28 2024/10/03 06:24:07 tb Exp $ */
/*
* Originally written by Bodo Moeller for the OpenSSL project.
*/
@@ -216,9 +216,6 @@ struct ec_group_st {
/* Montgomery context and values used by EC_GFp_mont_method. */
BN_MONT_CTX *mont_ctx;
BIGNUM *mont_one;
-
- int (*field_mod_func)(BIGNUM *, const BIGNUM *, const BIGNUM *,
- BN_CTX *);
} /* EC_GROUP */;
struct ec_key_st {