Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/lynx-2.8.8rel.2.local.patch

Lucio Andrés Illanes Albornoz 599f03
--- lynx-2-8-8/WWW/Library/Implementation/HTTP.c.orig	2017-02-09 21:20:27 UTC
Lucio Andrés Illanes Albornoz 599f03
+++ lynx-2-8-8/WWW/Library/Implementation/HTTP.c
Lucio Andrés Illanes Albornoz 599f03
@@ -721,7 +722,7 @@ static int HTLoadHTTP(const char *arg,
Lucio Andrés Illanes Albornoz 599f03
 #elif SSLEAY_VERSION_NUMBER >= 0x0900
Lucio Andrés Illanes Albornoz 599f03
 #ifndef USE_NSS_COMPAT_INCL
Lucio Andrés Illanes Albornoz 599f03
 	if (!try_tls) {
Lucio Andrés Illanes Albornoz 599f03
-	    handle->options |= SSL_OP_NO_TLSv1;
Lucio Andrés Illanes Albornoz 599f03
+	    SSL_set_options(handle, SSL_OP_NO_TLSv1);
Lucio Andrés Illanes Albornoz 599f03
 #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT)
Lucio Andrés Illanes Albornoz 599f03
 	} else {
Lucio Andrés Illanes Albornoz 599f03
 	    int ret = (int) SSL_set_tlsext_host_name(handle, ssl_host);