From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4CVS-2002-12-11 (dev) PHP Bug Type: Feature/Change Request Bug description: Patch for use of public keys
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. -- Edit bug report at http://bugs.php.net/?id=20936&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20936&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20936&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20936&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20936&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20936&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20936&r=support Expected behavior: http://bugs.php.net/fix.php?id=20936&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20936&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20936&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20936&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20936&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20936&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20936&r=isapi