diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-06-10 22:37:59 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-06-10 22:38:24 +0200 |
commit | 5a84ff982cb1ed52905ada0c55661d16548bdd6b (patch) | |
tree | 03d19470ba8ac4e9606991d2d7a202301a5d476a /package/lynx/patches/patch-WWW_Library_Implementation_HTTP_c | |
parent | 81621ce380198e9183d4d568c80bd2375a18037f (diff) |
lynx: fix compile
Diffstat (limited to 'package/lynx/patches/patch-WWW_Library_Implementation_HTTP_c')
-rw-r--r-- | package/lynx/patches/patch-WWW_Library_Implementation_HTTP_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/lynx/patches/patch-WWW_Library_Implementation_HTTP_c b/package/lynx/patches/patch-WWW_Library_Implementation_HTTP_c new file mode 100644 index 000000000..8f563a71b --- /dev/null +++ b/package/lynx/patches/patch-WWW_Library_Implementation_HTTP_c @@ -0,0 +1,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); |