Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71767 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19839 invoked from network); 30 Jan 2014 02:59:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2014 02:59:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=rdlowrey@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rdlowrey@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.179 as permitted sender) X-PHP-List-Original-Sender: rdlowrey@gmail.com X-Host-Fingerprint: 209.85.213.179 mail-ig0-f179.google.com Received: from [209.85.213.179] ([209.85.213.179:40677] helo=mail-ig0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7C/9B-52228-210C9E25 for ; Wed, 29 Jan 2014 21:59:31 -0500 Received: by mail-ig0-f179.google.com with SMTP id c10so6264578igq.0 for ; Wed, 29 Jan 2014 18:59:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Ae67HWefPbsy1tM7fQw1WAwdsjiY25SIfveuF2fMkL8=; b=qbRK7RYEU0TI+JqVSWxnAxMdlTPCFJJc+Kv7Au1zI0yvkyFrJl9BGDrBKq5akG9/OF HEMJ3DK8lL61V4+o8dxTZD+3qRaQ1QRkeDgyhB6x8oTCMIncG4FUTAScH485fuaEl9qO 3Y/aq2DuqT1zFnge96pSC3qXNa0/OaUTc6uUFCpoAON83aean4lyKSm84MBMOjnQwi+7 mo57G0rHx3hhjFPbDCfCjH5+KURqQpVBsQDLkpQZLI+WiqiU90vzzEx0r/EjL747i7ZE 7NgzRt0OvuwsG57jN5PRK5ke2GVQiQVNqG1kf2MX7EUx3xAiFYpCJl2HqqU8Egf/Hbm4 b2+A== MIME-Version: 1.0 X-Received: by 10.43.60.139 with SMTP id ws11mr9044464icb.12.1391050767903; Wed, 29 Jan 2014 18:59:27 -0800 (PST) Received: by 10.50.29.140 with HTTP; Wed, 29 Jan 2014 18:59:27 -0800 (PST) Date: Wed, 29 Jan 2014 21:59:27 -0500 Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=bcaec51a8946e2b07304f1273e79 Subject: Re: Verify peers by default, merge error From: rdlowrey@gmail.com (Daniel Lowrey) --bcaec51a8946e2b07304f1273e79 Content-Type: text/plain; charset=ISO-8859-1 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. --bcaec51a8946e2b07304f1273e79--