Module Name: src
Committed By: christos
Date: Tue May 9 16:41:29 UTC 2023
Modified Files:
src/crypto/external/bsd/openssl/include/openssl: configuration.h
Log Message:
fix 32 bit builds
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/crypto/external/bsd/openssl/include/openssl/configuration.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/configuration.h
diff -u src/crypto/external/bsd/openssl/include/openssl/configuration.h:1.1 src/crypto/external/bsd/openssl/include/openssl/configuration.h:1.2
--- src/crypto/external/bsd/openssl/include/openssl/configuration.h:1.1 Sun May 7 14:41:35 2023
+++ src/crypto/external/bsd/openssl/include/openssl/configuration.h Tue May 9 12:41:29 2023
@@ -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