From 599f038d32144263ace6e066a6f6b14dde9c8cfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Mon, 23 Oct 2017 14:09:10 +0200 Subject: vars/build.vars: configure w/ --with-ssl (via Redfoxmoon.) patches/lynx.local.patch: explicitly call SSL_set_options() in HTLoadHTTP() (via Redfoxmoon.) --- patches/lynx.local.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 patches/lynx.local.patch (limited to 'patches') diff --git a/patches/lynx.local.patch b/patches/lynx.local.patch new file mode 100644 index 00000000..89b964d7 --- /dev/null +++ b/patches/lynx.local.patch @@ -0,0 +1,11 @@ +--- lynx-2-8-8/WWW/Library/Implementation/HTTP.c.orig 2017-02-09 21:20:27 UTC ++++ lynx-2-8-8/WWW/Library/Implementation/HTTP.c +@@ -721,7 +722,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); -- cgit v1.2.3