Files
libressl/patches/win32_amd64_bn_arch.h.patch
Theo Buehler 4d719d6ce3 regen patches
2025-10-24 07:12:24 -06:00

29 lines
588 B
Diff

We should consider a OPENSSL_NO_BN_ASM if we can't figure
out how to fix BIGNUM on this OS
--- crypto/bn/arch/amd64/bn_arch.h.orig Fri Oct 24 07:06:10 2025
+++ crypto/bn/arch/amd64/bn_arch.h Fri Oct 24 07:06:22 2025
@@ -20,8 +20,14 @@
#ifndef HEADER_BN_ARCH_H
#define HEADER_BN_ARCH_H
+#ifdef _WIN32
#ifndef OPENSSL_NO_ASM
+#define OPENSSL_NO_ASM
+#endif
+#else
+#ifndef OPENSSL_NO_ASM
+
#define HAVE_BN_ADD
#define HAVE_BN_ADD_WORDS
@@ -110,6 +116,7 @@ bn_subw(BN_ULONG a, BN_ULONG b, BN_ULONG *out_borrow,
}
#endif /* __GNUC__ */
+#endif /* _WIN32 */
#endif
#endif