Define OPENSSL_NO_EC_NISTP_64_GCC_128 also for aarch64eb.
Fix ssh-keygen(1) on aarch64eb. Also, all tests in tests/crypto pass with this change. As martin pointed out when this macro was defined for sparc64, http://cvsweb.netbsd.org/bsdweb.cgi/src/crypto/external/bsd/openssl/include/openssl/opensslconf.h#rev1.5 this code seems broken on LP64BE architectures. At the moment, mips64eb is not affected since only N32 is supported as userland. Also, we do not support powerpc64 (eb) yet. But we may need to take care of them in future.
This commit is contained in:
parent
5b34795350
commit
9df0660400
@ -50,7 +50,12 @@ extern "C" {
|
||||
# define OPENSSL_NO_DEVCRYPTOENG
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(_LP64) || defined(__alpha__) || defined(__sparc64__)
|
||||
/*
|
||||
* XXX
|
||||
* This seems broken on big-endian or strictly-aligned architectures.
|
||||
*/
|
||||
#if !defined(_LP64) || \
|
||||
defined(__AARCH64EB__) || defined(__alpha__) || defined(__sparc64__)
|
||||
# ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
|
||||
# define OPENSSL_NO_EC_NISTP_64_GCC_128
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user