diff options
author | Sam James <sam@gentoo.org> | 2021-05-03 19:32:04 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-05-03 19:45:37 +0100 |
commit | 1e95ece9d8cc7640388c85675c62550449aa347c (patch) | |
tree | c48bebbb9ec8bd3ad5b4ac66b1d4dc529eaca7d1 /dev-libs/libstrophe | |
parent | net-misc/seafile-client: drop obsolete LibreSSL patch (diff) | |
download | gentoo-1e95ece9d8cc7640388c85675c62550449aa347c.tar.gz gentoo-1e95ece9d8cc7640388c85675c62550449aa347c.tar.bz2 gentoo-1e95ece9d8cc7640388c85675c62550449aa347c.zip |
dev-libs/libstrophe: drop obsolete LibreSSL patch
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libstrophe')
-rw-r--r-- | dev-libs/libstrophe/files/libstrophe-0.9.2-libressl.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/dev-libs/libstrophe/files/libstrophe-0.9.2-libressl.patch b/dev-libs/libstrophe/files/libstrophe-0.9.2-libressl.patch deleted file mode 100644 index 1c0cf239cdfc..000000000000 --- a/dev-libs/libstrophe/files/libstrophe-0.9.2-libressl.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/src/tls_openssl.c -+++ b/src/tls_openssl.c -@@ -51,7 +51,7 @@ - - void tls_initialize(void) - { --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) - SSL_library_init(); - SSL_load_error_strings(); - #else -@@ -120,7 +120,7 @@ - /* Trust server's certificate when user sets the flag explicitly. */ - mode = conn->tls_trust ? SSL_VERIFY_NONE : SSL_VERIFY_PEER; - SSL_set_verify(tls->ssl, mode, 0); --#if OPENSSL_VERSION_NUMBER >= 0x10002000L -+#if OPENSSL_VERSION_NUMBER >= 0x10002000L && (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x2070000fL) - /* Hostname verification is supported in OpenSSL 1.0.2 and newer. */ - X509_VERIFY_PARAM *param = SSL_get0_param(tls->ssl); - |