aboutsummaryrefslogtreecommitdiff
path: root/patches/bn_local.h.patch
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2022-11-27 10:35:13 +0100
committerTheo Buehler <tb@openbsd.org>2022-11-27 10:35:13 +0100
commitbcf7afb23f9ae3a8dbdbb4ffe78c1e6f8bdc4444 (patch)
tree7be7f0f6115d7624b2933e06db20af91cfc5dc29 /patches/bn_local.h.patch
parentf39a1b4b64910394382c55b387efc11a28bc9338 (diff)
downloadportable-bcf7afb23f9ae3a8dbdbb4ffe78c1e6f8bdc4444.tar.gz
portable-bcf7afb23f9ae3a8dbdbb4ffe78c1e6f8bdc4444.tar.bz2
portable-bcf7afb23f9ae3a8dbdbb4ffe78c1e6f8bdc4444.zip
Adjust patches for lcl.h -> local.h rename
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; \