Files
commandergenius/project/jni/openssl/opensslconf.h.patch
2018-06-27 22:35:21 +03:00

20 lines
544 B
Diff

diff -u -r include/openssl/opensslconf.h include/openssl/opensslconf.h
--- include/openssl/opensslconf.h 2018-06-27 21:41:35.243331385 +0300
+++ include/openssl/opensslconf.h 2018-06-27 22:00:56.341328455 +0300
@@ -157,10 +157,13 @@
#if !defined(OPENSSL_SYS_UEFI)
# define BN_LLONG
/* Only one for the following should be defined */
-# undef SIXTY_FOUR_BIT_LONG
-# undef SIXTY_FOUR_BIT
+#ifdef __LP64__
+# define SIXTY_FOUR_BIT_LONG
+# define SIXTY_FOUR_BIT
+#else
# define THIRTY_TWO_BIT
#endif
+#endif
#define RC4_INT unsigned char