Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98651 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82990 invoked from network); 28 Mar 2017 13:27:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Mar 2017 13:27:14 -0000 Authentication-Results: pb1.pair.com header.from=remi@fedoraproject.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=remi@fedoraproject.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fedoraproject.org from 217.70.183.198 cause and error) X-PHP-List-Original-Sender: remi@fedoraproject.org X-Host-Fingerprint: 217.70.183.198 relay6-d.mail.gandi.net Received: from [217.70.183.198] ([217.70.183.198:33947] helo=relay6-d.mail.gandi.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5B/02-61593-FA46AD85 for ; Tue, 28 Mar 2017 08:27:13 -0500 Received: from mfilter21-d.gandi.net (mfilter21-d.gandi.net [217.70.178.149]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id 7AFB1FB8DD for ; Tue, 28 Mar 2017 15:27:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter21-d.gandi.net Received: from relay6-d.mail.gandi.net ([IPv6:::ffff:217.70.183.198]) by mfilter21-d.gandi.net (mfilter21-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id Bz2icWWmmdwH for ; Tue, 28 Mar 2017 15:27:07 +0200 (CEST) X-Originating-IP: 90.109.100.243 Received: from builder.remirepo.net (LFbn-1-6148-243.w90-109.abo.wanadoo.fr [90.109.100.243]) (Authenticated sender: contact@ll-experts.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 0D827FB887 for ; Tue, 28 Mar 2017 15:27:06 +0200 (CEST) To: PHP Internals References: <1c18a6eb-452a-9d9a-b9ef-8f19a44f7dae@fedoraproject.org> Message-ID: <8e478369-92b3-4787-74da-3354388aa692@fedoraproject.org> Date: Tue, 28 Mar 2017 15:27:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UdnlL5bd4bJ8bmX9i3bQsgXH6loShkh61" Subject: Re: [PHP-DEV] Re: PHP 7.0 and openssl 1.1 From: remi@fedoraproject.org (Remi Collet) --UdnlL5bd4bJ8bmX9i3bQsgXH6loShkh61 Content-Type: multipart/mixed; boundary="iijA2NtohoVxm7Sewdfh5qGdvK14UG7pB"; protected-headers="v1" From: Remi Collet To: PHP Internals Message-ID: <8e478369-92b3-4787-74da-3354388aa692@fedoraproject.org> Subject: Re: [PHP-DEV] Re: PHP 7.0 and openssl 1.1 References: <1c18a6eb-452a-9d9a-b9ef-8f19a44f7dae@fedoraproject.org> In-Reply-To: --iijA2NtohoVxm7Sewdfh5qGdvK14UG7pB Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le 24/03/2017 =C3=A0 20:31, Jakub Zelenka a =C3=A9crit : > After thinking about it and considering that distros patching the 7.0 > openssl ext just for the OpenSSL 1.1 support, I started working on the > complete patch for 7.0 only. I wanted to initially start with the above= one > but after I get it from Remi's history (the link above doesn't work), I= > noticed that there are lots of missing bits and it doesn't even apply. :( Sad lost of energy... BTW, my patch is saved in 2 places https://git.remirepo.net/cgit/rpms/scl-php70/php.git/tree/php-7.0.17-open= ssl11.patch https://github.com/remicollet/php-src/tree/PHP-7.0-openssl11 and even (if someone interested) https://github.com/remicollet/php-src/tree/PHP-5.6-openssl11 BTW, indeed, compatibility bits are missing. I will try to give your a try Remi. > So I > started from scratch - backported the related stuff from 7.1 and port o= ld > openssl_(en|de)crypt. It's only in openssl.c for now. I haven't tested = it > yet with OpenSSL 1.1 (which I will doing later) but it works with 1.0.2= =2E > It's still a WIP but wanted to give you an update so you know that the = work > is in progress. You can see all changes in here: >=20 > https://github.com/php/php-src/compare/PHP-7.0...bukka:openssl_1_1_for_= 7_0 >=20 > Cheers >=20 > Jakub >=20 --iijA2NtohoVxm7Sewdfh5qGdvK14UG7pB-- --UdnlL5bd4bJ8bmX9i3bQsgXH6loShkh61 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAljaZKgACgkQYUppBSnxahheawCfUBLD6RA6Zq4TybSJDzC0xlKW AtMAoOwtMs2VxxmcFad2qUjaJY1U2VY5 =/f10 -----END PGP SIGNATURE----- --UdnlL5bd4bJ8bmX9i3bQsgXH6loShkh61--