Module Name:    src
Committed By:   jakllsch
Date:           Thu Oct  8 16:00:09 UTC 2020

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

Log Message:
openssl: Define OPENSSL_NO_EC_NISTP_64_GCC_128 for Alpha too

The ecp_nistp521.c code depends on doing unaligned 64-bit accesses,
which the NetBSD/alpha kernel doesn't like to trap and emulate.

fixes PR lib/55701


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 \
    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.7 src/crypto/external/bsd/openssl/include/openssl/opensslconf.h:1.8
--- src/crypto/external/bsd/openssl/include/openssl/opensslconf.h:1.7	Sat Dec  8 17:07:27 2018
+++ src/crypto/external/bsd/openssl/include/openssl/opensslconf.h	Thu Oct  8 16:00:09 2020
@@ -50,7 +50,7 @@ extern "C" {
 #  define OPENSSL_NO_DEVCRYPTOENG
 # endif
 #endif
-#if !defined(_LP64) || defined(__sparc64__)
+#if !defined(_LP64) || defined(__alpha__) || defined(__sparc64__)
 # ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
 #  define OPENSSL_NO_EC_NISTP_64_GCC_128
 # endif

Reply via email to