aboutsummaryrefslogtreecommitdiff
path: root/patches/crypto_namespace.h.patch
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2025-08-18 19:12:51 +0200
committerTheo Buehler <tb@openbsd.org>2025-08-18 19:13:01 +0200
commit77be80d6218cac65ca703db9f78b097d6a2c0849 (patch)
treeae8fdffa79e87fedc2fcbd19973ff33bda56d60d /patches/crypto_namespace.h.patch
parentf30ace5a6bdae4a37b8a7475e420e6dcb9f5d344 (diff)
downloadportable-77be80d6218cac65ca703db9f78b097d6a2c0849.tar.gz
portable-77be80d6218cac65ca703db9f78b097d6a2c0849.tar.bz2
portable-77be80d6218cac65ca703db9f78b097d6a2c0849.zip
Remove upstreamed patches
Diffstat (limited to 'patches/crypto_namespace.h.patch')
-rw-r--r--patches/crypto_namespace.h.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/patches/crypto_namespace.h.patch b/patches/crypto_namespace.h.patch
deleted file mode 100644
index f45a121..0000000
--- a/patches/crypto_namespace.h.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1--- crypto/hidden/crypto_namespace.h.orig Sun Aug 17 13:14:19 2025
2+++ crypto/hidden/crypto_namespace.h Mon Aug 18 04:10:42 2025
3@@ -24,6 +24,10 @@
4 * external calls use the latter name.
5 */
6
7+#ifdef _MSC_VER
8+#undef LIBRESSL_NAMESPACE
9+#endif
10+
11 #ifdef LIBRESSL_NAMESPACE
12 #ifdef LIBRESSL_CRYPTO_NAMESPACE
13 # define LCRYPTO_UNUSED(x) __attribute__((deprecated)) \
14@@ -45,7 +49,11 @@
15 # define LCRYPTO_UNUSED(x)
16 # define LCRYPTO_USED(x)
17 # define LCRYPTO_ALIAS1(pre,x)
18+#ifdef _MSC_VER
19+# define LCRYPTO_ALIAS(x)
20+#else
21 # define LCRYPTO_ALIAS(x) asm("")
22+#endif /* _MSC_VER */
23 #endif
24
25 #endif /* _LIBCRYPTO_CRYPTO_NAMESPACE_H_ */