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 openssl: Define ...



details:   https://anonhg.NetBSD.org/src/rev/faac4c0f46f9
branches:  trunk
changeset: 940262:faac4c0f46f9
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Thu Oct 08 16:00:09 2020 +0000

description:
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

diffstat:

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

diffs (12 lines):

diff -r a1e060edbdbb -r faac4c0f46f9 crypto/external/bsd/openssl/include/openssl/opensslconf.h
--- a/crypto/external/bsd/openssl/include/openssl/opensslconf.h Thu Oct 08 14:22:21 2020 +0000
+++ b/crypto/external/bsd/openssl/include/openssl/opensslconf.h Thu Oct 08 16:00:09 2020 +0000
@@ -50,7 +50,7 @@
 #  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



Home | Main Index | Thread Index | Old Index