libressl-portable/patches/bn_local.h.patch

12 lines
415 B
Diff
Raw Normal View History

--- ./crypto/bn/bn_local.h.orig Fri Feb 18 16:30:39 2022
+++ ./crypto/bn/bn_local.h Mon Feb 21 05:39:35 2022
2022-02-27 05:37:43 -06:00
@@ -283,7 +283,7 @@
2019-01-20 19:58:04 -06:00
: "r"(a), "r"(b)); \
ret; })
# endif /* compiler */
-# elif defined(__x86_64) || defined(__x86_64__)
+# elif (defined(__x86_64) || defined(__x86_64__)) && defined(_LP64)
# if defined(__GNUC__) && __GNUC__>=2
# define BN_UMULT_HIGH(a,b) ({ \
BN_ULONG ret,discard; \