lynx: reinstate ASN1_STRING_data() patch after file moved

This commit is contained in:
tb
2026-05-30 08:13:07 +00:00
parent ad641978b7
commit 865e814abc
2 changed files with 17 additions and 0 deletions
+2
View File
@@ -5,6 +5,8 @@ PKGNAME= lynx-${V}
EXTRACT_SUFX= .tar.bz2
CATEGORIES= www net
REVISION= 0
HOMEPAGE= https://lynx.invisible-island.net/
# GPLv2 only
@@ -0,0 +1,15 @@
Do not use the deprecated ASN1_STRING_data(). It will be removed
Index: WWW/Library/Implementation/HTTLS.c
--- WWW/Library/Implementation/HTTLS.c.orig
+++ WWW/Library/Implementation/HTTLS.c
@@ -30,6 +30,9 @@
#if LIBRESSL_VERSION_NUMBER >= 0x2060100fL
#define SSL_set_no_TLSV1() SSL_set_min_proto_version(handle, TLS1_1_VERSION)
#endif
+#if LIBRESSL_VERSION_NUMBER >= 0x2090000fL
+#define ASN1_STRING_data ASN1_STRING_get0_data
+#endif
#elif defined(OPENSSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER >= 0x10100000L)