aboutsummaryrefslogtreecommitdiffstats
path: root/main/cryptsetup/libressl-2.7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/cryptsetup/libressl-2.7.patch')
-rw-r--r--main/cryptsetup/libressl-2.7.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/cryptsetup/libressl-2.7.patch b/main/cryptsetup/libressl-2.7.patch
new file mode 100644
index 0000000000..dda8ec7dfd
--- /dev/null
+++ b/main/cryptsetup/libressl-2.7.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/crypto_backend/crypto_openssl.c b/lib/crypto_backend/crypto_openssl.c
+index 4929f82..463c3dd 100644
+--- a/lib/crypto_backend/crypto_openssl.c
++++ b/lib/crypto_backend/crypto_openssl.c
+@@ -52,7 +52,7 @@ struct crypt_hmac {
+ /*
+ * Compatible wrappers for OpenSSL < 1.1.0
+ */
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ static void openssl_backend_init(void)
+ {
+ OpenSSL_add_all_algorithms();