[openssl] master update

Dr. Paul Dale pauli at openssl.org
Tue Jun 22 08:27:56 UTC 2021

The branch master has been updated
       via  cd5fea4664994d907516d60eddd1b680344a556b (commit)
      from  f31bbeff048056874fcc4e6b33ffb847369f65c5 (commit)

- Log -----------------------------------------------------------------
commit cd5fea4664994d907516d60eddd1b680344a556b
Author: Martin Schwenke <martin at meltin.net>
Date:   Fri Jun 18 16:35:16 2021 +1000

    ec: Fail build on big-endian with enable-ec_nistp_64_gcc_128
    I can't see way of making Configure fail but this at least makes the
    build fail.
    Fixes #15821
    Signed-off-by: Martin Schwenke <martin at meltin.net>
    Reviewed-by: Tomas Mraz <tomas at openssl.org>
    Reviewed-by: Paul Dale <pauli at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/15831)


Summary of changes:
 crypto/ec/ec_local.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/crypto/ec/ec_local.h b/crypto/ec/ec_local.h
index 693f21fa29..f34e06aea8 100644
--- a/crypto/ec/ec_local.h
+++ b/crypto/ec/ec_local.h
@@ -508,6 +508,10 @@ int ossl_ec_GF2m_simple_field_div(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
                                  const BIGNUM *b, BN_CTX *);
 #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
+# ifdef B_ENDIAN
+#  error "Can not enable ec_nistp_64_gcc_128 on big-endian systems"
+# endif
 /* method functions in ecp_nistp224.c */
 int ossl_ec_GFp_nistp224_group_init(EC_GROUP *group);
 int ossl_ec_GFp_nistp224_group_set_curve(EC_GROUP *group, const BIGNUM *p,

More information about the openssl-commits mailing list