diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-04-04 09:11:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-04-06 05:19:24 +0000 |
commit | 56d11e86868967ccdeea5aa1607efb178c842d86 (patch) | |
tree | b617ed1131dcfe30c9fa4d0d9e3cea8dc737df51 /main/cryptsetup/libressl-2.7.patch | |
parent | 68b4b7d351f43e42b707ba015c24d50bb52037e9 (diff) | |
download | aports-56d11e86868967ccdeea5aa1607efb178c842d86.tar.bz2 aports-56d11e86868967ccdeea5aa1607efb178c842d86.tar.xz |
main/cryptsetup: rebuild against libressl-2.7
Diffstat (limited to 'main/cryptsetup/libressl-2.7.patch')
-rw-r--r-- | main/cryptsetup/libressl-2.7.patch | 13 |
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(); |