diff options
-rw-r--r-- | patches/crypto_namespace.h.patch | 8 |
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 |