Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98625 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23373 invoked from network); 24 Mar 2017 19:31:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Mar 2017 19:31:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=jakub.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=jakub.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.170 as permitted sender) X-PHP-List-Original-Sender: jakub.php@gmail.com X-Host-Fingerprint: 209.85.161.170 mail-yw0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:35374] helo=mail-yw0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BA/99-40046-D1475D85 for ; Fri, 24 Mar 2017 14:31:41 -0500 Received: by mail-yw0-f170.google.com with SMTP id d191so8705514ywe.2 for ; Fri, 24 Mar 2017 12:31:41 -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=fCAiaV7by1j4L60yD2DhDhsjl96RHsa+srdeo1ir+FU=; b=cfxfSvFjwJNnmPQTVV21xAlWVDH686zpDvQfyzp8kibtkwlt5xbjztv14h9sd129JU USDRBRfwvAvzD5Cxt4enZik2kK1my4pxxka9z40pw1iRw4JqEfxDDTZ9ijL+1wr7ayW4 m2v68kTFpuo2JQ5zClA+LkDFNO4kqH3uZgRDySHqGzz7bOfXrhAQg2rq91H/O5fGL2MA TDF3R2+HXJYB9f6MoLQ+vAmNiK2UPgEkPJd+nGh61Kyz6R7v8XM751uv5gBONiRowe5D D8cr5C9myfFkAwqj2rZMXp0iHYcMJ9lXLDnZ+mckOw7dBiCFwah5NvVWpaq9AX+eSc46 oSKA== 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=fCAiaV7by1j4L60yD2DhDhsjl96RHsa+srdeo1ir+FU=; b=eNsGOmiWoGCGLiWgOH2fvvG6EMnNmQ5ngr8hDmI9Vc+Ph8ptjB8KRzE44y8Pf3nMIf gSmqT9lB+cd+UZC+rg2fsZn+UcmLuYgW5NodD69B+nqPWT2/0Mg15IN7T1H93qqNO+wK hITGIsrOklPnHpeaH5nHDV2pKa4UX3V0AzHGFRjlwYyyF+X653CLzofvfGgtUik4dLe7 8dpueBGxIcV7sH2CnsadqSfYfFK1uTPZNtX5KdGbvRQdT1O8/YHjwFNEuPpWvKy4mzuq 05c/S0CGuNGHSOJTAvxmfrVrb8jrMz7/oaXjjY4jmUia1EgVdz3aWKk490IlqJc3ULsb u0wQ== X-Gm-Message-State: AFeK/H1JE98XndfP4m6MGYWcnOPUI2sFhhm3e1IJhhvT+CSHK+LUfS/n1WbYJWSJxt+oGVMZMXeuOxy8sdMC0A== X-Received: by 10.37.177.156 with SMTP id h28mr6908826ybj.83.1490383898470; Fri, 24 Mar 2017 12:31:38 -0700 (PDT) MIME-Version: 1.0 Sender: jakub.php@gmail.com Received: by 10.129.72.201 with HTTP; Fri, 24 Mar 2017 12:31:38 -0700 (PDT) In-Reply-To: References: <1c18a6eb-452a-9d9a-b9ef-8f19a44f7dae@fedoraproject.org> Date: Fri, 24 Mar 2017 19:31:38 +0000 X-Google-Sender-Auth: wLH9nhJuJD2uHnkgiARpqrF1X70 Message-ID: To: PHP Internals Cc: Rasmus Lerdorf , Remi Collet , Anatol Belski Content-Type: multipart/alternative; boundary=f403045ebe10d8f723054b7f0a59 Subject: Re: [PHP-DEV] Re: PHP 7.0 and openssl 1.1 From: bukka@php.net (Jakub Zelenka) --f403045ebe10d8f723054b7f0a59 Content-Type: text/plain; charset=UTF-8 Hi, On Sun, Mar 12, 2017 at 10:28 PM, Jakub Zelenka wrote: > 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... >> >> 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. So I started from scratch - backported the related stuff from 7.1 and port old 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. 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: https://github.com/php/php-src/compare/PHP-7.0...bukka:openssl_1_1_for_7_0 Cheers Jakub --f403045ebe10d8f723054b7f0a59--