aboutsummaryrefslogtreecommitdiff
path: root/patches/bn_local.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/bn_local.h.patch')
-rw-r--r--patches/bn_local.h.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/bn_local.h.patch b/patches/bn_local.h.patch
new file mode 100644
index 0000000..2378ec7
--- /dev/null
+++ b/patches/bn_local.h.patch
@@ -0,0 +1,11 @@
1--- ./crypto/bn/bn_local.h.orig Fri Feb 18 16:30:39 2022
2+++ ./crypto/bn/bn_local.h Mon Feb 21 05:39:35 2022
3@@ -283,7 +283,7 @@
4 : "r"(a), "r"(b)); \
5 ret; })
6 # endif /* compiler */
7-# elif defined(__x86_64) || defined(__x86_64__)
8+# elif (defined(__x86_64) || defined(__x86_64__)) && defined(_LP64)
9 # if defined(__GNUC__) && __GNUC__>=2
10 # define BN_UMULT_HIGH(a,b) ({ \
11 BN_ULONG ret,discard; \