This commit is contained in:
Ali
2020-01-06 22:19:25 +04:00
parent da291cf637
commit 81ae5e6a66
14 changed files with 105 additions and 33 deletions

View File

@@ -1,19 +1,19 @@
--- armv7s/include/openssl/opensslconf.h 2017-01-08 02:25:43.000000000 -0800
+++ arm64/include/openssl/opensslconf.h 2017-01-08 03:44:44.000000000 -0800
@@ -158,11 +158,21 @@
--- opensslconf.h 2020-01-06 02:41:46.000000000 +0400
+++ opensslconf_updated.h 2020-01-06 02:51:12.000000000 +0400
@@ -205,11 +205,21 @@
* The following are cipher-specific, but are part of the public API.
*/
#if !defined(OPENSSL_SYS_UEFI)
-# define BN_LLONG
-# undef BN_LLONG
+# ifdef __LP64__
+# undef BN_LLONG
+# else
+# define BN_LLONG
+# endif
/* Only one for the following should be defined */
-# undef SIXTY_FOUR_BIT_LONG
-# define SIXTY_FOUR_BIT_LONG
-# undef SIXTY_FOUR_BIT
-# define THIRTY_TWO_BIT
-# undef THIRTY_TWO_BIT
+# ifdef __LP64__
+# define SIXTY_FOUR_BIT_LONG
+# undef SIXTY_FOUR_BIT