[PR][php-src][#688][master] - Bug #67403 Add signatureType to openssl_x509_parse

From: Date: Thu, 05 Mar 2015 17:34:27 +0000
Subject: [PR][php-src][#688][master] - Bug #67403 Add signatureType to openssl_x509_parse
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-2586@lists.php.net to get a copy of this message
You can view the Pull Request on github: https://github.com/php/php-src/pull/688 Warning: according to github, the Pull Request cannot be merged without manual conflict resolution! Pull Request Description: Adding openssl signature parsing to openssl_x509_parse, so for instance, a cert with a sha1 signature should say sha1WithRSAEncryption (and not SHA1-With-RSA like other openssl signature functions might produce). There was some old commented out code, that didn't work. This pull request replaces it with working code. Also removed unused const, DEFAULT_KEY_LENGTH in openssl, it was copied from req.c in the openssl examples source code, and is not otherwise used in php code. See how it was copied over from req.c (openssl source) when ext/openssl/openssl.c was first being written: http://www.opensource.apple.com/source/OpenSSL098/OpenSSL098-32/src/apps/req.c?txt (leaving it in is a bit misleading, because it appears to be a default key length, but actually defaults are controlled by openssl.cnf).

« previous php.git-pulls (#2586) next »