aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2024-04-11 02:38:14 -0600
committerTheo Buehler <tb@openbsd.org>2024-04-11 02:38:14 -0600
commit2e6ce7b0fdc584445d5bc282436505a51538bb03 (patch)
tree391b672a83b5c9e3f48afb49d28dd40bb35b37e0
parent13d2bf18d4622f185b4b5cbd5646f933503d0888 (diff)
downloadportable-2e6ce7b0fdc584445d5bc282436505a51538bb03.tar.gz
portable-2e6ce7b0fdc584445d5bc282436505a51538bb03.tar.bz2
portable-2e6ce7b0fdc584445d5bc282436505a51538bb03.zip
Rebase crypto_namespace.h.patch
-rw-r--r--patches/crypto_namespace.h.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/crypto_namespace.h.patch b/patches/crypto_namespace.h.patch
index 171e7f5..c18f0da 100644
--- a/patches/crypto_namespace.h.patch
+++ b/patches/crypto_namespace.h.patch
@@ -1,5 +1,5 @@
1--- openbsd/src/lib/libcrypto/hidden/crypto_namespace.h 2023-03-15 11:41:37.614024500 -0600 1--- crypto/hidden/crypto_namespace.h.orig 2024-04-09 10:12:22.320737957 +0200
2+++ crypto/hidden/crypto_namespace.h 2023-03-15 17:12:55.297157400 -0600 2+++ crypto/hidden/crypto_namespace.h 2024-04-11 09:09:31.163350515 +0200
3@@ -24,6 +24,12 @@ 3@@ -24,6 +24,12 @@
4 * external calls use the latter name. 4 * external calls use the latter name.
5 */ 5 */
@@ -11,9 +11,9 @@
11+# define LCRYPTO_ALIAS(x) 11+# define LCRYPTO_ALIAS(x)
12+#else 12+#else
13 #ifdef LIBRESSL_NAMESPACE 13 #ifdef LIBRESSL_NAMESPACE
14 # define LCRYPTO_UNUSED(x) typeof(x) x __attribute__((deprecated))
15 #ifdef LIBRESSL_CRYPTO_NAMESPACE 14 #ifdef LIBRESSL_CRYPTO_NAMESPACE
16@@ -40,5 +46,6 @@ 15 # define LCRYPTO_UNUSED(x) __attribute__((deprecated)) \
16@@ -43,5 +49,6 @@
17 # define LCRYPTO_ALIAS1(pre,x) 17 # define LCRYPTO_ALIAS1(pre,x)
18 # define LCRYPTO_ALIAS(x) asm("") 18 # define LCRYPTO_ALIAS(x) asm("")
19 #endif 19 #endif