Date: Mon, 27 Apr 2015 15:59:45 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r384860 - branches/2015Q2/www/aria2/files Message-ID: <201504271559.t3RFxjHX037331@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Mon Apr 27 15:59:45 2015 New Revision: 384860 URL: https://svnweb.freebsd.org/changeset/ports/384860 Log: MFH: r384841 - Fix build on 9.x (OpenSSL 0.9.8) Approved by: portmgr (erwin) Added: branches/2015Q2/www/aria2/files/patch-src-LibsslTLSContext.cc - copied unchanged from r384841, head/www/aria2/files/patch-src-LibsslTLSContext.cc Modified: Directory Properties: branches/2015Q2/ (props changed) Copied: branches/2015Q2/www/aria2/files/patch-src-LibsslTLSContext.cc (from r384841, head/www/aria2/files/patch-src-LibsslTLSContext.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2015Q2/www/aria2/files/patch-src-LibsslTLSContext.cc Mon Apr 27 15:59:45 2015 (r384860, copy of r384841, head/www/aria2/files/patch-src-LibsslTLSContext.cc) @@ -0,0 +1,23 @@ +--- src/LibsslTLSContext.cc.orig 2015-02-23 14:34:01 UTC ++++ src/LibsslTLSContext.cc +@@ -103,14 +103,20 @@ OpenSSLTLSContext::OpenSSLTLSContext(TLS + + long ver_opts = 0; + switch(minVer) { ++#ifdef SSL_OP_NO_TLSv1_1 + case TLS_PROTO_TLS12: + ver_opts |= SSL_OP_NO_TLSv1_1; ++#endif // SSL_OP_NO_TLSv1_1 + // fall through ++#ifdef SSL_OP_NO_TLSv1 + case TLS_PROTO_TLS11: + ver_opts |= SSL_OP_NO_TLSv1; ++#endif // SSL_OP_NO_TLSv1 + // fall through ++#ifdef SSL_OP_NO_SSLv3 + case TLS_PROTO_TLS10: + ver_opts |= SSL_OP_NO_SSLv3; ++#endif // SSL_OP_NO_SSLv3 + default: + break; + };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504271559.t3RFxjHX037331>