Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71789 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75979 invoked from network); 30 Jan 2014 09:07:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2014 09:07:29 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.180 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.214.180 mail-ob0-f180.google.com Received: from [209.85.214.180] ([209.85.214.180:50081] helo=mail-ob0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 00/96-42724-F461AE25 for ; Thu, 30 Jan 2014 04:07:27 -0500 Received: by mail-ob0-f180.google.com with SMTP id wp4so3189074obc.39 for ; Thu, 30 Jan 2014 01:07:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+uygKHwvM6WQ18E+AhUNpOi+Z5YJ8QscdVKD0ChGLlA=; b=oCTFHUL8FRIWvqqB6ruL/Z+RkriHTlAwLeSat/XN5QYwJYsPPV9xO/z5aMS8c8aPWC vW5U++AmTS4I+iXIc//b1s6uDL1agVdKgdh3sjow5aBndIXOWwkYwZIMjbFaWYkMdWq3 dN0YXgplBubtaVLOUuLcTMnt2hESYygjly9p2cCpG/1ClBFsIO8PobGiLpt6V+Nehlj7 EaHV5rPYpWbtmO4RmH9Wv9USWQa4JfY9qUhNsQb0x39P/mRb6I9pt6YphSVDn7Nw/6CK YtLErbDjnr6ZYr9WKEXxHP2hwMABFm6xcynSt2/VWKqPgZsgbIdJTybogr0/jRyTKxxY qfNw== MIME-Version: 1.0 X-Received: by 10.182.129.201 with SMTP id ny9mr10690605obb.0.1391072844924; Thu, 30 Jan 2014 01:07:24 -0800 (PST) Received: by 10.182.54.112 with HTTP; Thu, 30 Jan 2014 01:07:24 -0800 (PST) In-Reply-To: References: Date: Thu, 30 Jan 2014 10:07:24 +0100 Message-ID: To: Daniel Lowrey Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=089e015366b4c74eb104f12c621b Subject: Re: [PHP-DEV] Re: Verify peers by default, merge error From: nikita.ppv@gmail.com (Nikita Popov) --089e015366b4c74eb104f12c621b Content-Type: text/plain; charset=ISO-8859-1 On Thu, Jan 30, 2014 at 3:59 AM, Daniel Lowrey wrote: > I need a bit of help here as I'm starting to doubt my sanity. Is there some > difference between the master branch and PHP-5.6 regarding zts that I'm > unaware of? > > I've pushed a fix for the peer verification build breakage the code is > identical in both branches but the master branch won't build *without* > TSRMLS_CC and the PHP-5.6 branch will not build *with* the TSRMLS_CC > declaration and I'm completely flumoxed at this point. > > The relevant commit can be found here: > > > https://github.com/php/php-src/commit/43432c12f176d42d35c82345caef23fb016cec82#diff-fba6f2ad888bf4d71a91b060dfee4522L482 > > The offending bit of code is: > > ``` > if (sslsock->is_client > && (php_stream_context_get_option(stream->context, "ssl", > "SNI_enabled", &val) == FAILURE > || zend_is_true(*val TSRMLS_CC)) > ) { > ``` > > Any guidance is appreciated. > The signature of zend_is_true changed between PHP-5.6 and master. In PHP-5.6 it does not need TSRMLS_CC, in master it does. Nikita --089e015366b4c74eb104f12c621b--