From: jsing Date: Sun, 5 Mar 2023 16:31:01 +0000 (+0000) Subject: Remove #ifndef OPENSSL_EC_NISTP_64_GCC_128. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=48e81b1e88dc880f0dfe2c008e4470eb24e2215a;p=openbsd 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). --- diff --git a/lib/libcrypto/ec/ec_local.h b/lib/libcrypto/ec/ec_local.h index 986534efcc0..7ddf6240d26 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.5 2023/03/05 16:11:36 jsing Exp $ */ +/* $OpenBSD: ec_local.h,v 1.6 2023/03/05 16:31:01 jsing Exp $ */ /* * Originally written by Bodo Moeller for the OpenSSL project. */ @@ -433,8 +433,6 @@ int ec_GF2m_simple_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, int ec_GF2m_precompute_mult(EC_GROUP *group, BN_CTX *ctx); int ec_GF2m_have_precompute_mult(const EC_GROUP *group); -#ifndef OPENSSL_EC_NISTP_64_GCC_128 - /* EC_METHOD definitions */ struct ec_key_method_st { @@ -473,6 +471,4 @@ int ossl_ecdsa_verify(int type, const unsigned char *dgst, int dgst_len, int ossl_ecdsa_verify_sig(const unsigned char *dgst, int dgst_len, const ECDSA_SIG *sig, EC_KEY *eckey); -#endif - __END_HIDDEN_DECLS