Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59772 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59615 invoked from network); 12 Apr 2012 01:12:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Apr 2012 01:12:20 -0000 Authentication-Results: pb1.pair.com smtp.mail=jason.gerfen@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=jason.gerfen@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.42 as permitted sender) X-PHP-List-Original-Sender: jason.gerfen@gmail.com X-Host-Fingerprint: 209.85.160.42 mail-pb0-f42.google.com Received: from [209.85.160.42] ([209.85.160.42:57346] helo=mail-pb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D7/AC-23245-3FB268F4 for ; Wed, 11 Apr 2012 21:12:19 -0400 Received: by pbcun1 with SMTP id un1so2087688pbc.29 for ; Wed, 11 Apr 2012 18:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:references:from:content-type:x-mailer:in-reply-to :message-id:date:to:content-transfer-encoding:mime-version; bh=S+q5rAJWu6FmaNm7xdMQY+Q9S8miVx7J3wBVtTehFlE=; b=Sp/ePBmkm9Yf+sinXUCZVqT/K2dALDzIuXkaYp29he9/4vxaxacFK0+C2hr5e2BU69 ytf+hSrKiqI6e4B1Cr6Y3di3zAzAyVnJ78TvcxG4BkUKqJ33qAbRTIKuFrjsTYy6iyKX xFOWmBwxQofQwYb7ghqoYWs29fS4OiDspQSoM8pYhzUNX4SbyonRNmvEZO41FgWl3uKV 3aUT5VVth+otPzP+v2CBoWaTnb0aNdZbPusfSW6M2BJW7H1Ws1qnO5WMsJIOseL3jNoy FWDByI4jKHjbPNIZzdj3Nyy69iwyKJVQYmKnbvlSfnAggIZQQoHA+YKxE/UNFJ2zBKxP uKHg== Received: by 10.68.240.42 with SMTP id vx10mr2336135pbc.21.1334193136952; Wed, 11 Apr 2012 18:12:16 -0700 (PDT) Received: from [192.168.1.101] (c-67-186-224-109.hsd1.ut.comcast.net. [67.186.224.109]) by mx.google.com with ESMTPS id l1sm4343712pbs.34.2012.04.11.18.12.13 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 Apr 2012 18:12:14 -0700 (PDT) References: Content-Type: multipart/alternative; boundary=Apple-Mail-A92AC000-976F-44FC-A591-2EEDAC3104C8 X-Mailer: iPhone Mail (9B176) In-Reply-To: Message-ID: <0BAF545D-95F6-4C4B-8E03-025E8604B1ED@gmail.com> Date: Wed, 11 Apr 2012 19:12:09 -0600 To: "internals@lists.php.net" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Subject: Re: Push Request #21 From: jason.gerfen@gmail.com ("jason.gerfen@gmail.com") --Apple-Mail-A92AC000-976F-44FC-A591-2EEDAC3104C8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii There really doesn't seem to be much interest in this proposed patch. Should= I continue development efforts on closing this feature request? I do also have a few questions regarding standards adherence, and memory lea= k methods of detection. I ask about the memory leak detection as passing test scripts through valgri= nd only led me to find leaks in the openssl_pkey_new() function. Thanks for any help you can provide Jas On Apr 3, 2012, at 4:47 AM, Jason Gerfen wrote: > Please bear with me as I am going to address a few things that (being new)= I seem to have over looked upon my initial pull request @ https://github.co= m/php/php-src/pull/21. >=20 > I have forked and submitted a push request to add native spkac functionali= ty per a feature request @ https://bugs.php.net/bug.php?id=3D38917. >=20 > It introduces five new functions: > openssl_spki_new() > openssl_spki_export() > openssl_spki_export_challenge() > openssl_spki_verify() > openssl_spki_details() >=20 > First I am not sure I should include the openssl_spki_details() function a= s it may be overkill and the remainder of the PHP OpenSSL extension does not= have anything providing the modulus and other details. I am leaning towards= the omitting of this in next pull request. >=20 > Second. The warning message UC first or all LC has been brought up. The re= mainder of the warnings messages do not use LC at all and I simply followed t= his example. >=20 > Third. The adherence to C89 vs. C99 functions, I could not find references= to this in any of the internals docs. I very well could have missed it. >=20 > Fourth. A couple of you made mention of re-factoring to omit goto statemen= ts. Does this mean the remainder of the ext/openssl/openssl.c file should be= re-factored as I originally used this as an example of creating new functio= ns which does include a few functions making use of goto statements. >=20 > Thanks for any feedback you can provide >=20 > --=20 > Jas --Apple-Mail-A92AC000-976F-44FC-A591-2EEDAC3104C8--