mirror of
https://github.com/libressl/portable.git
synced 2026-01-17 21:51:17 +01:00
29 lines
588 B
Diff
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
|