summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2023-03-05 16:31:01 +0000
committerjsing <>2023-03-05 16:31:01 +0000
commit6bac610727a591217d2872d33752ba81334680ae (patch)
tree4483bcc04260eda7ff6bcaccb058dc24c475395b
parent9da042df1ce54fff6e4709f7049dba2f90c650a2 (diff)
downloadopenbsd-6bac610727a591217d2872d33752ba81334680ae.tar.gz
openbsd-6bac610727a591217d2872d33752ba81334680ae.tar.bz2
openbsd-6bac610727a591217d2872d33752ba81334680ae.zip
Remove #ifndef OPENSSL_EC_NISTP_64_GCC_128.
This was presumably intended to be OPENSSL_NO_EC_NISTP_64_GCC_128, however generic code has ended up inside the ifdef (and none of the NISTP code or prototypes now remain).
-rw-r--r--src/lib/libcrypto/ec/ec_local.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h
index 986534efcc..7ddf6240d2 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.5 2023/03/05 16:11:36 jsing Exp $ */ 1/* $OpenBSD: ec_local.h,v 1.6 2023/03/05 16:31:01 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 */
@@ -433,8 +433,6 @@ int ec_GF2m_simple_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
433int ec_GF2m_precompute_mult(EC_GROUP *group, BN_CTX *ctx); 433int ec_GF2m_precompute_mult(EC_GROUP *group, BN_CTX *ctx);
434int ec_GF2m_have_precompute_mult(const EC_GROUP *group); 434int ec_GF2m_have_precompute_mult(const EC_GROUP *group);
435 435
436#ifndef OPENSSL_EC_NISTP_64_GCC_128
437
438/* EC_METHOD definitions */ 436/* EC_METHOD definitions */
439 437
440struct ec_key_method_st { 438struct ec_key_method_st {
@@ -473,6 +471,4 @@ int ossl_ecdsa_verify(int type, const unsigned char *dgst, int dgst_len,
473int ossl_ecdsa_verify_sig(const unsigned char *dgst, int dgst_len, 471int ossl_ecdsa_verify_sig(const unsigned char *dgst, int dgst_len,
474 const ECDSA_SIG *sig, EC_KEY *eckey); 472 const ECDSA_SIG *sig, EC_KEY *eckey);
475 473
476#endif
477
478__END_HIDDEN_DECLS 474__END_HIDDEN_DECLS