Re: Re: PHP 7.0 and openssl 1.1
| From: | Jakub Zelenka | Date: | Sun, 12 Mar 2017 22:28:03 +0000 |
| Subject: | Re: Re: PHP 7.0 and openssl 1.1 | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-98512@lists.php.net to get a copy of this message | ||
Hi,
On Sun, Mar 12, 2017 at 1:49 PM, Remi Collet <remi@fedoraproject.org> wrote:
> >> But as said by Rasmus, there is tons of extensions and libraries linked
> >> against openssl, and having both versions loaded in the same process can
> >> only be a huge mess, and raise terrible issues.
>
> Here is a minimal patch which seems ok (test suite passes)
>
> https://github.com/remicollet/remirepo/blob/master/scl-
> php70/php/php-7.0.17-openssl11.patch
>
> If it may helps some other dev, which need to build 7.0 on a recent
> distro...
>
> @Jakub, your eyes welcome on it.
>
>
Had a very quick look and it seems to be missing compat part for 1.0.2-
(e.g. DH_get0_key and other
getters / setters that are not in there) so it won't probably work anywhere
else than 1.1. In any case
it looks like a good start. Will try to take a look a bit more later.
Btw. I remember that there are few more changes required in phar ext that
uses MD.
> 2 minor changes on tests (001.php and openssl_free_key.phpt) thant I
> plan to apply on 7.1 (rely on local openssl.cnf instead of system one)
>
Sounds good!
Cheers
Jakub