summaryrefslogtreecommitdiff
path: root/ext/openssl/tests/openssl_x509_fingerprint_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/tests/openssl_x509_fingerprint_basic.phpt')
-rw-r--r--ext/openssl/tests/openssl_x509_fingerprint_basic.phpt7
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/openssl/tests/openssl_x509_fingerprint_basic.phpt b/ext/openssl/tests/openssl_x509_fingerprint_basic.phpt
index bc6715f375..b2a87faa83 100644
--- a/ext/openssl/tests/openssl_x509_fingerprint_basic.phpt
+++ b/ext/openssl/tests/openssl_x509_fingerprint_basic.phpt
@@ -7,9 +7,6 @@ openssl_x509_fingerprint() tests
$cert = "file://" . __DIR__ . "/cert.crt";
-echo "** Testing with no parameters **\n";
-var_dump(openssl_x509_fingerprint());
-
echo "** Testing default functionality **\n";
var_dump(openssl_x509_fingerprint($cert));
@@ -29,10 +26,6 @@ echo "** Testing bad hash method **\n";
var_dump(openssl_x509_fingerprint($cert, 'xx45'));
?>
--EXPECTF--
-** Testing with no parameters **
-
-Warning: openssl_x509_fingerprint() expects at least 1 parameter, 0 given in %s on line %d
-NULL
** Testing default functionality **
string(40) "6e6fd1ea10a5a23071d61c728ee9b40df6dbc33c"
** Testing hash method md5 **