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/b93c0218545e
branches:  trunk
changeset: 445156:b93c0218545e
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 cc84428a0312 -r b93c0218545e 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