]> granicus.if.org Git - php/commitdiff
fix tests
authorAntony Dovgal <tony2001@php.net>
Sun, 27 May 2007 19:13:29 +0000 (19:13 +0000)
committerAntony Dovgal <tony2001@php.net>
Sun, 27 May 2007 19:13:29 +0000 (19:13 +0000)
ext/openssl/tests/bug38255.phpt
ext/openssl/tests/bug38261.phpt

index 487260553933d015dcd3a54d3cfbc47f6a022972..1c640b067888e7b30ad41a5517274691d61f98f2 100644 (file)
@@ -53,3 +53,27 @@ NULL
 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
index b06fa4f8fe40e6522ce763fa89776b72d1f1fe53..33fc7702ade1021b73d2c467aef1f2a832ed03e2 100644 (file)
@@ -32,3 +32,13 @@ NULL
 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