From: Antony Dovgal Date: Tue, 5 Sep 2006 14:04:41 +0000 (+0000) Subject: add test X-Git-Tag: php-5.2.0RC4~97 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c57bfd9a6606aaa5e53693e0c95cacf07837b316;p=php add test --- diff --git a/ext/openssl/tests/004.phpt b/ext/openssl/tests/004.phpt new file mode 100644 index 0000000000..b9c41590cf --- /dev/null +++ b/ext/openssl/tests/004.phpt @@ -0,0 +1,34 @@ +--TEST-- +openssl_csr_new() tests +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: openssl_csr_new() expects parameter 1 to be array, integer given in %s on line %d +NULL + +Warning: openssl_csr_new() expects parameter 1 to be array, integer given in %s on line %d +NULL + +Warning: openssl_csr_new(): key array must be of the form array(0 => key, 1 => phrase) in %s on line %d + +Warning: openssl_csr_new(): add1_attr_by_txt challengePassword_min -> 4 (failed) in %s on line %d +bool(false) +resource(%d) of type (OpenSSL X.509 CSR) +Done