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 fix 32 bit builds



details:   https://anonhg.NetBSD.org/src/rev/073e8307e650
branches:  trunk
changeset: 374663:073e8307e650
user:      christos <christos%NetBSD.org@localhost>
date:      Tue May 09 16:41:29 2023 +0000

description:
fix 32 bit builds

diffstat:

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

diffs (20 lines):

diff -r 870e2c940350 -r 073e8307e650 crypto/external/bsd/openssl/include/openssl/configuration.h
--- a/crypto/external/bsd/openssl/include/openssl/configuration.h       Tue May 09 16:31:41 2023 +0000
+++ b/crypto/external/bsd/openssl/include/openssl/configuration.h       Tue May 09 16:41:29 2023 +0000
@@ -117,9 +117,14 @@ extern "C" {
 # if !defined(OPENSSL_SYS_UEFI)
 #  undef BN_LLONG
 /* Only one for the following should be defined */
-#  define SIXTY_FOUR_BIT_LONG
 #  undef SIXTY_FOUR_BIT
-#  undef THIRTY_TWO_BIT
+#  ifdef __LP64__
+#   define SIXTY_FOUR_BIT_LONG
+#   undef THIRTY_TWO_BIT
+#  else
+#   undef SIXTY_FOUR_BIT_LONG
+#   define THIRTY_TWO_BIT
+#  endif
 # endif
 
 # define RC4_INT unsigned int



Home | Main Index | Thread Index | Old Index