aboutsummaryrefslogtreecommitdiff
path: root/patches/bn_div.c.patch
blob: 9989e8d0cc71058eceec7eb8595d554bc6d8cbb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- openbsd/src/lib/libcrypto/bn/bn_div.c	2018-08-03 22:40:06.596555542 -0500
+++ crypto/bn/bn_div.c	2019-01-20 19:26:37.891450640 -0600
@@ -89,7 +89,7 @@
 	    q;					\
 	})
 #  define REMAINDER_IS_ALREADY_CALCULATED
-#  elif defined(__x86_64)
+#  elif defined(__x86_64) && defined(_LP64)
    /*
     * Same story here, but it's 128-bit by 64-bit division. Wow!
     *					<appro@fy.chalmers.se>