Module Name:    src
Committed By:   martin
Date:           Mon Oct 15 12:27:58 UTC 2018

Modified Files:
        src/crypto/external/bsd/openssl/include/openssl: opensslconf.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
    src/crypto/external/bsd/openssl/include/openssl/opensslconf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/openssl/include/openssl/opensslconf.h
diff -u src/crypto/external/bsd/openssl/include/openssl/opensslconf.h:1.4 src/crypto/external/bsd/openssl/include/openssl/opensslconf.h:1.5
--- src/crypto/external/bsd/openssl/include/openssl/opensslconf.h:1.4	Wed Oct 10 06:16:55 2018
+++ src/crypto/external/bsd/openssl/include/openssl/opensslconf.h	Mon Oct 15 12:27:58 2018
@@ -48,9 +48,9 @@ extern "C" {
 #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

Reply via email to