aboutsummaryrefslogtreecommitdiff
path: root/patches/bn_lcl.h.patch
blob: 184bbd7b9c471d3d5976cc0e531bf1c3e40b9441 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./openbsd/src/lib/libcrypto/bn/bn_lcl.h	2018-12-17 06:59:43.067523154 -0600
+++ ./crypto/bn/bn_lcl.h	2019-01-20 19:43:53.679717457 -0600
@@ -239,7 +239,7 @@
 	     : "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;	\