Date: Wed, 23 Nov 2016 16:51:15 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426944 - head/www/lynx-current/files Message-ID: <201611231651.uANGpFVE035439@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Wed Nov 23 16:51:15 2016 New Revision: 426944 URL: https://svnweb.freebsd.org/changeset/ports/426944 Log: Fix build with LibreSSL. Approved by: just-fix-it Added: head/www/lynx-current/files/patch-WWW_Library_Implementation_HTTP.c (contents, props changed) Added: head/www/lynx-current/files/patch-WWW_Library_Implementation_HTTP.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/lynx-current/files/patch-WWW_Library_Implementation_HTTP.c Wed Nov 23 16:51:15 2016 (r426944) @@ -0,0 +1,11 @@ +--- WWW/Library/Implementation/HTTP.c.orig 2016-11-23 16:45:25 UTC ++++ WWW/Library/Implementation/HTTP.c +@@ -926,7 +926,7 @@ static int HTLoadHTTP(const char *arg, + #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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611231651.uANGpFVE035439>