mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
lynx: reinstate ASN1_STRING_data() patch after file moved
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user