Test: /ext/phar/tests/zip/phar_setsignaturealgo2.phpt - Version 5.4.0    

There are 6 different diffs reported by users for this test.

Count Diff
8 (33%)
031- array(2) {
032- ["hash"]=>
033- string(%d) "%s"
034- ["hash_type"]=>
035- string(7) "OpenSSL"
036- }
037- ===DONE===
6 (25%)
031+
032+ Warning: openssl_pkey_export(): cannot get key from parameter 1 in %s/phar_setsignaturealgo2.php on line 41
033+
034+ Warning: openssl_pkey_get_details() expects parameter 1 to be resource, boolean given in %s/phar_setsignaturealgo2.php on line 42
035- string(7) "OpenSSL"
039+ string(7) "SHA-512"
5 (21%)
035+ string(7) "SHA-512"
035- string(7) "OpenSSL"
3 (13%)
031+
032+ Fatal error: Call to undefined function openssl_pkey_new() in %s/phar_setsignaturealgo2.php on line 40
031- array(2) {
032- ["hash"]=>
033- string(%d) "%s"
034- ["hash_type"]=>
035- string(7) "OpenSSL"
036- }
037- ===DONE===
1 (4%)
031+ Segmentation fault (core dumped)
031- array(2) {
032- ["hash"]=>
033- string(%d) "%s"
034- ["hash_type"]=>
035- string(7) "OpenSSL"
036- }
037- ===DONE===
1 (4%)
031+
032+ Warning: openssl_pkey_export(): cannot get key from parameter 1 in %s/phar_setsignaturealgo2.php on line 41
033+
034+ Warning: openssl_pkey_get_details() expects parameter 1 to be resource, boolean given in %s/phar_setsignaturealgo2.php on line 42
035+
036+ Warning: openssl_sign(): supplied key param cannot be coerced into a private key in %s/phar_setsignaturealgo2.php on line 43
037+ phar error: signature cannot be verified: openssl public key could not be read in zip-based phar "/usr/src/php/php-5.4.0/ext/phar/tests/zip/phar_setsignaturealgo2.6.phar.zip"===DONE===
031- array(2) {
032- ["hash"]=>
033- string(%d) "%s"
034- ["hash_type"]=>
035- string(7) "OpenSSL"
036- }
037- ===DONE===