Magellan Linux

Contents of /trunk/lynx/patches/lynx-2.8.8-openssl-1.1.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3003 - (show annotations) (download)
Thu Oct 19 13:24:48 2017 UTC (6 years, 6 months ago) by niro
File size: 520 byte(s)
-added openssl-1.1 patch
1 --- lynx2-8-8/WWW/Library/Implementation/HTTP.c.orig 2017-03-16 09:24:30.608537810 +0000
2 +++ lynx2-8-8/WWW/Library/Implementation/HTTP.c 2017-03-16 09:25:21.728457895 +0000
3 @@ -720,7 +720,7 @@
4 #elif SSLEAY_VERSION_NUMBER >= 0x0900
5 #ifndef USE_NSS_COMPAT_INCL
6 if (!try_tls) {
7 - handle->options |= SSL_OP_NO_TLSv1;
8 + SSL_set_options(handle, SSL_OP_NO_TLSv1);
9 #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT)
10 } else {
11 int ret = (int) SSL_set_tlsext_host_name(handle, ssl_host);