Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98512 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68907 invoked from network); 12 Mar 2017 22:28:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Mar 2017 22:28:08 -0000 Authentication-Results: pb1.pair.com header.from=jakub.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jakub.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.177 as permitted sender) X-PHP-List-Original-Sender: jakub.php@gmail.com X-Host-Fingerprint: 209.85.161.177 mail-yw0-f177.google.com Received: from [209.85.161.177] ([209.85.161.177:36186] helo=mail-yw0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FC/5E-38004-67BC5C85 for ; Sun, 12 Mar 2017 17:28:06 -0500 Received: by mail-yw0-f177.google.com with SMTP id o4so49819030ywd.3 for ; Sun, 12 Mar 2017 15:28:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=mqerc5/jsuTBZB1X3FwQjPVuUv4xTNkO2Svtcfq8Y6I=; b=ZGcnXdKf2BAJwDiTem6qGyqxhgQcUhQxzHsD34/2/KsFn5cxpgXIJwjhJkqxIu1+qn CxfFpDgp4tMBZI5xWtx6JTgj81cSfS0WWo6TFWcaeUKwm1Gfp9DsMd4ufdKqYE3Yn9py UohvMShdGWjl+r1CtwqBMRmlK+pNLQWO+R+NJH4uYR1HDcHTZHR68/k1f6sE3Z2v104O UY5PNwGjYuCCVrkAXKod8/qdtAlKkAZj/POxh+FsdtQwft1czb16GJCpVzyPMZRfuv5J x3PoGinW9hR+tSgb+u77BZv1pbaAd4w+gq7P6M+gDd3+HNBvBFf2+I8aW4rBzQJFpiuy LdQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=mqerc5/jsuTBZB1X3FwQjPVuUv4xTNkO2Svtcfq8Y6I=; b=k8Q1cX6veTk9k6U79olVp/cZr+uFIVbbppxkjk9fPwBz4CBmPUTFOArGLDkV0KYK5h jLYpO7kiHlBcnWHA73eUWFc8vjrNkejwf6XZt3gRsOIMcwdri6UpkHaZQfgUnxx00YYN LZfWUBRJU49w9EXrn7j0Z2zLtVplL+1wM+Y/kL906VPMmyp5LyoBNy3ZO81Ln6h3Rarh 3gqOhyNG+35ZbGab3EYFLWSD8+55xT9L98rmN82kAXgMI8axow76BXfuxyBRvbSpVIL1 z4nEpMsDxHIOV8wsp2/IXc0X8o9sJnZV3njv85Ypi5FbnHOD84aDmHMcj/LSbjenQj4Y 2mpg== X-Gm-Message-State: AMke39moUJSwyCRT1cydDveho9amRXeC2AuB2lSK+2g6YiiqbneoWrGa/IiHrtf4OxndUkWf7wDG4nex/j98DA== X-Received: by 10.37.231.130 with SMTP id e124mr15833885ybh.190.1489357683788; Sun, 12 Mar 2017 15:28:03 -0700 (PDT) MIME-Version: 1.0 Sender: jakub.php@gmail.com Received: by 10.129.72.201 with HTTP; Sun, 12 Mar 2017 15:28:03 -0700 (PDT) In-Reply-To: References: <1c18a6eb-452a-9d9a-b9ef-8f19a44f7dae@fedoraproject.org> Date: Sun, 12 Mar 2017 22:28:03 +0000 X-Google-Sender-Auth: iOc45efJq8WRJ5B56iDbmCfx4vM Message-ID: To: Remi Collet Cc: PHP Internals Content-Type: multipart/alternative; boundary=94eb2c0b12eeaf9917054a901bbf Subject: Re: [PHP-DEV] Re: PHP 7.0 and openssl 1.1 From: bukka@php.net (Jakub Zelenka) --94eb2c0b12eeaf9917054a901bbf Content-Type: text/plain; charset=UTF-8 Hi, On Sun, Mar 12, 2017 at 1:49 PM, Remi Collet 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 --94eb2c0b12eeaf9917054a901bbf--