From owner-freebsd-ports@freebsd.org Sat Jun 24 09:28:13 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E13ED9B5F5 for ; Sat, 24 Jun 2017 09:28:13 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (vps.rulingia.com [103.243.244.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.rulingia.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C938037C4 for ; Sat, 24 Jun 2017 09:28:11 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp59-167-167-3.static.internode.on.net [59.167.167.3]) by vps.rulingia.com (8.15.2/8.15.2) with ESMTPS id v5O9Rq3N087151 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sat, 24 Jun 2017 19:28:00 +1000 (AEST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id v5O9Ri8n069507 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 24 Jun 2017 19:27:45 +1000 (AEST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id v5O9RiAP069506 for freebsd-ports@freebsd.org; Sat, 24 Jun 2017 19:27:44 +1000 (AEST) (envelope-from peter) Date: Sat, 24 Jun 2017 19:27:44 +1000 From: Peter Jeremy To: freebsd-ports@freebsd.org Subject: security/libressl not API-compatible with OpenSSL, breaks www/apache24 Message-ID: <20170624092744.GA69225@server.rulingia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2017 09:28:13 -0000 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In , libressl-2.5.4 specifies #define OPENSSL_VERSION_NUMBER 0x20000000L but doesn't provide an API compatible with OpenSSL. In particular, it's missing (at least) SSL_CTX_set_max_proto_version() and SSL_CTX_set_min_proto_version(), which were added in OpenSSL 1.1.0. This breaks (at least) apache-2.4 which includes the code: #if OPENSSL_VERSION_NUMBER >=3D 0x10100000L SSL_CTX_set_max_proto_version(ssl_ctx, max_prot); SSL_CTX_set_min_proto_version(ssl_ctx, min_prot); #endif Does anyone have a suggestion, other than switching from LibreSSL back to OpenSSL? --=20 Peter Jeremy --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJZTjCQXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFRUIyOTg2QzMwNjcxRTc0RTY1QzIyN0Ux NkE1OTdBMEU0QTIwQjM0AAoJEBall6Dkogs0fOMP/0XUy5l28y3rBKRQsFNN6T/w wPvorpwn9jkYMxaB/A8vfI8ofdXXN2yvcEqWriff3Yq0AwsgbU+DHy1DqWSEmJVo MKAVbMUJMoS7g0FOsqO0nijf1Zrz2NlQJeVeg/G2qKJdbcBwLYGZdLz+TrM1ynUD mMTdrEtl3CWsRaLJvZZn+HldRq059hC5gbVMcNqJMV+Lc5wiUcOmo2/tcBf+aQqx i12mW5gN3TGfiPlH2gKuWg7vAyDyPqBSmkxD5Lg29XLHKdITJS4mLGOfpbeWljES VjgjmC3CVJiO8uthzreGf5wT3mlN/XKPU07VJRHFK+tKdALBQeLCgWot7QL51fgB jTvnM/zZgipFdA4QZaaZz+xJGJsPBtu4pNdr7ttzU3Bnl1prE3Q2gTiZhAMqEOQE xqCQ25e1sZ8lQ5q7+bZP/JbRWbw2ndATKnAXSoY9IbGSOrzQM2TH4ekL2ROnA6H5 4QBOyZxq7nRXglRpbG0LwnCDuxJtnCKN0XC59rt2I3dTqFNXKsV9i4PErRC5w/Nc lK1Ysg6nkdbiPM4eeU0ucaMaEfInwBrCE8a3fMsG0EuU+sakmANmIWDussXVKOLL bZsdL8V0ZbkH/2/6gK0scOssZ5isxLrvhpPOetPnnvIFsHNJVBnaz+JR3D9qreVZ fZx9itiS8sWqx17oHGhs =gjG3 -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--