summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/w3mmee/files/w3mmee-openssl-1.1.patch')
-rw-r--r--www-client/w3mmee/files/w3mmee-openssl-1.1.patch4
1 files 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