diff options
| author | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-05-20 11:27:00 +0200 |
|---|---|---|
| committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-05-20 11:33:04 +0200 |
| commit | ddae464717ccaea853d91c0c44fa8f7df07ed7bb (patch) | |
| tree | af7af85f4305d666c23543ef0374126b26873fc9 /main/lynx/libressl.patch | |
| parent | f66ad3104ada47d2fbbc45344fbc5b4be9886779 (diff) | |
| download | aports-ddae464717ccaea853d91c0c44fa8f7df07ed7bb.tar.bz2 aports-ddae464717ccaea853d91c0c44fa8f7df07ed7bb.tar.xz | |
main/lynx: fix SSL support
Fixes #7859
Diffstat (limited to 'main/lynx/libressl.patch')
| -rw-r--r-- | main/lynx/libressl.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/main/lynx/libressl.patch b/main/lynx/libressl.patch new file mode 100644 index 0000000000..5b173b0c74 --- /dev/null +++ b/main/lynx/libressl.patch @@ -0,0 +1,19 @@ +Patch to fix SSL support with LibreSSL. + +Taken from https://invisible-mirror.net/archives/lynx/patches/lynx2.8.9dev.17.patch.gz + +See also: https://bugs.alpinelinux.org/issues/7859 + +diff -upr lynx2-8-8.orig/WWW/Library/Implementation/HTTP.c lynx2-8-8/WWW/Library/Implementation/HTTP.c +--- lynx2-8-8.orig/WWW/Library/Implementation/HTTP.c 2018-05-20 11:28:09.464968615 +0200 ++++ lynx2-8-8/WWW/Library/Implementation/HTTP.c 2018-05-20 11:28:19.171665560 +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); +Only in lynx2-8-8/WWW/Library/Implementation: HTTP.c.orig |
