aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/win32_amd64_bn_arch.h.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/patches/win32_amd64_bn_arch.h.patch b/patches/win32_amd64_bn_arch.h.patch
new file mode 100644
index 0000000..20205dc
--- /dev/null
+++ b/patches/win32_amd64_bn_arch.h.patch
@@ -0,0 +1,21 @@
1--- crypto/bn/arch/amd64/bn_arch.h.orig 2023-02-27 04:43:12.257874699 -0600
2+++ crypto/bn/arch/amd64/bn_arch.h 2023-02-27 04:44:05.541873870 -0600
3@@ -20,6 +20,10 @@
4 #ifndef HEADER_BN_ARCH_H
5 #define HEADER_BN_ARCH_H
6
7+#ifdef _WIN32
8+#define OPENSSL_NO_ASM
9+#else
10+
11 #ifndef OPENSSL_NO_ASM
12
13 #define HAVE_BN_ADD
14@@ -85,6 +89,7 @@
15 *out_r0 = r0;
16 }
17 #endif /* __GNUC__ */
18+#endif /* _WIN32 */
19
20 #endif
21 #endif