tony2001 Sun May 27 19:13:29 2007 UTC Modified files: /php-src/ext/openssl/tests bug38255.phpt bug38261.phpt Log: fix tests http://cvs.php.net/viewvc.cgi/php-src/ext/openssl/tests/bug38255.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/openssl/tests/bug38255.phpt diff -u php-src/ext/openssl/tests/bug38255.phpt:1.2 php-src/ext/openssl/tests/bug38255.phpt:1.3 --- php-src/ext/openssl/tests/bug38255.phpt:1.2 Sat Jul 29 22:41:34 2006 +++ php-src/ext/openssl/tests/bug38255.phpt Sun May 27 19:13:29 2007 @@ -53,3 +53,27 @@ Warning: openssl_verify() expects parameter 1 to be string, object given in %s on line %d NULL Done +--UEXPECTF-- +Warning: openssl_verify(): supplied key param cannot be coerced into a public key in %s on line %d + +Warning: openssl_verify(): supplied key param cannot be coerced into a public key in %s on line %d +bool(false) + +Warning: openssl_verify(): supplied key param cannot be coerced into a public key in %s on line %d +bool(false) + +Warning: openssl_verify() expects parameter 2 to be binary string, object given in %s on line %d +NULL + +Warning: openssl_verify() expects parameter 2 to be binary string, object given in %s on line %d +NULL + +Warning: openssl_verify() expects parameter 2 to be binary string, array given in %s on line %d +NULL + +Warning: openssl_verify() expects at least 3 parameters, 0 given in %s on line %d +NULL + +Warning: openssl_verify() expects parameter 1 to be binary string, object given in %s on line %d +NULL +Done http://cvs.php.net/viewvc.cgi/php-src/ext/openssl/tests/bug38261.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/openssl/tests/bug38261.phpt diff -u php-src/ext/openssl/tests/bug38261.phpt:1.3 php-src/ext/openssl/tests/bug38261.phpt:1.4 --- php-src/ext/openssl/tests/bug38261.phpt:1.3 Fri Jan 19 19:23:20 2007 +++ php-src/ext/openssl/tests/bug38261.phpt Sun May 27 19:13:29 2007 @@ -32,3 +32,13 @@ bool(false) Catchable fatal error: Object of class stdClass could not be converted to string in %sbug38261.php on line %d +--UEXPECTF-- +bool(false) +bool(false) +bool(false) + +Warning: openssl_x509_parse() expects at least 1 parameter, 0 given in %s on line %d +NULL +bool(false) + +Catchable fatal error: Object of class stdClass could not be converted to binary string in %s on line %d
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php