aboutsummaryrefslogtreecommitdiff
blob: f5becb2b4c9a5491ad915ebf20539eb2ac528e3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur lynx2.8.9dev.11.orig/WWW/Library/Implementation/HTTP.c lynx2.8.9dev.11/WWW/Library/Implementation/HTTP.c
--- lynx2.8.9dev.11.orig/WWW/Library/Implementation/HTTP.c	2016-12-11 12:48:58.951251787 -0800
+++ lynx2.8.9dev.11/WWW/Library/Implementation/HTTP.c	2016-12-11 12:49:46.633762684 -0800
@@ -926,7 +926,7 @@
 #elif SSLEAY_VERSION_NUMBER >= 0x0900
 #ifndef USE_NSS_COMPAT_INCL
 	if (!try_tls) {
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
 	    SSL_set_min_proto_version(handle, TLS1_1_VERSION);
 #else
 	    SSL_set_options(handle, SSL_OP_NO_TLSv1);