summaryrefslogtreecommitdiff
path: root/package/lynx/patches/patch-WWW_Library_Implementation_HTTP_c
blob: 8f563a71b3e8f17b75aba5f25fb4b8f11755875f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- lynx2-8-8.orig/WWW/Library/Implementation/HTTP.c	2014-01-11 20:06:15.000000000 +0100
+++ lynx2-8-8/WWW/Library/Implementation/HTTP.c	2017-06-05 13:30:53.165071650 +0200
@@ -720,7 +720,7 @@ static int HTLoadHTTP(const char *arg,
 #elif SSLEAY_VERSION_NUMBER >= 0x0900
 #ifndef USE_NSS_COMPAT_INCL
 	if (!try_tls) {
-	    handle->options |= SSL_OP_NO_TLSv1;
+	    SSL_set_options(handle, SSL_OP_NO_TLSv1);
 #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT)
 	} else {
 	    int ret = (int) SSL_set_tlsext_host_name(handle, ssl_host);