Patch for use of public keys
| 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
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2002-12-11 09:36 UTC] wez@php.net
[2002-12-11 09:37 UTC] wez@php.net
[2002-12-12 07:57 UTC] wez@php.net