commit:     c2eb9483cac80e3863c3d7f4a01872257f60edec
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Mon Jul 11 00:29:45 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 12 02:45:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2eb9483

www-client/w3mmee: Remove libressl support

This removes outdated libressl checks from the openssl-1.1.patch which
are no longer required for the libressl overlay.

Signed-off-by: orbea <orbea <AT> riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/26339
Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-client/w3mmee/files/w3mmee-openssl-1.1.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-client/w3mmee/files/w3mmee-openssl-1.1.patch 
b/www-client/w3mmee/files/w3mmee-openssl-1.1.patch
index 8d7087c93a24..7a2ef42b2bba 100644
--- a/www-client/w3mmee/files/w3mmee-openssl-1.1.patch
+++ b/www-client/w3mmee/files/w3mmee-openssl-1.1.patch
@@ -15,7 +15,7 @@
        gn = sk_GENERAL_NAME_value(alt, i);
  
        if (gn->type == GEN_DNS) {
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
          char *sn = ASN1_STRING_data(gn->d.ia5);
 +#else
 +        char *sn = ASN1_STRING_get0_data(gn->d.ia5);
@@ -64,7 +64,7 @@
        X509_set_default_verify_paths(ssl_ctx->cert);
 -#else                         /* SSLEAY_VERSION_NUMBER >= 0x0800 */
 +#else                         /* OPENSSL_VERSION_NUMBER >= 0x0800 */
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
        SSLeay_add_ssl_algorithms();
        SSL_load_error_strings();
 +#else

Reply via email to