Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/include/openssl Define OPENSSL_N...



details:   https://anonhg.NetBSD.org/src/rev/5a7c45b3fbf8
branches:  trunk
changeset: 836398:5a7c45b3fbf8
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Oct 15 12:27:58 2018 +0000

description:
Define OPENSSL_NO_EC_NISTP_64_GCC_128 for sparc64, the code does
not work there (or maybe any big endian machine).
Fixes PR bin/53670.

diffstat:

 crypto/external/bsd/openssl/include/openssl/opensslconf.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r 8fb852d3e271 -r 5a7c45b3fbf8 crypto/external/bsd/openssl/include/openssl/opensslconf.h
--- a/crypto/external/bsd/openssl/include/openssl/opensslconf.h Mon Oct 15 11:35:42 2018 +0000
+++ b/crypto/external/bsd/openssl/include/openssl/opensslconf.h Mon Oct 15 12:27:58 2018 +0000
@@ -48,9 +48,9 @@
 #ifndef OPENSSL_NO_DEVCRYPTOENG
 # define OPENSSL_NO_DEVCRYPTOENG
 #endif
-#ifndef _LP64
+#if !defined(_LP64) || defined(__sparc64__)
 # ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
-#  define OPENSSL_NO_EC_NISTP_64_GCC_128
+  define OPENSSL_NO_EC_NISTP_64_GCC_128
 # endif
 #endif
 #ifndef OPENSSL_NO_EGD



Home | Main Index | Thread Index | Old Index