php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20936 Patch for use of public keys
Submitted: 2002-12-11 08:51 UTC Modified: 2002-12-12 07:57 UTC
From: jeroen at derks dot it Assigned:
Status: Closed Package: OpenSSL related
PHP Version: 4CVS-2002-12-11 (dev) OS: Linux
Private report: No CVE-ID: None
 [2002-12-11 08:51 UTC] jeroen at derks dot it
I required the use of public keys (not certificates) for a current project, so I patched ext/openssl/openssl.c to support public keys. The patch can be found at http://www.jeroenderks.com/php-4.4.0-dev-openssl.c.diff

I tries to read a public key if reading a certificate failed in php_openssl_evp_from_zval(). Also a check was added to check whether a private key was requested and only a public key is available.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-11 09:36 UTC] wez@php.net
Please read the CODING_STANDARDS and README.SUBMITTING-PATCH files in the php4/ directory;
mail the patch as a MIME attachment (give it a .txt extension if your mailer doesn't set the mime type correctly, as binary attachments are stripped from the list), and CC the patch to the maintainer (that's me, wez@php.net).
Please also describe in more detail what the patch changes and or fixes, with a couple of lines of sample code.
 [2002-12-11 09:37 UTC] wez@php.net
the patch should go to php-dev@lists.php.net, CC: wez@php.net.

I was not able to download the patch from the URL you posted.
 [2002-12-12 07:57 UTC] wez@php.net
Verified the problem and the patch has gone into PHP 4.3.
Thanks for your help :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 07:01:29 2024 UTC