diff options
author | Jakub Zelenka <bukka@php.net> | 2017-10-30 13:01:27 +0000 |
---|---|---|
committer | Jakub Zelenka <bukka@php.net> | 2017-10-30 16:40:55 +0000 |
commit | d23d4fd61b8b8ad832aefe31f92d69e37eafed17 (patch) | |
tree | e1e126dcf139f0699af8484707912beecbc7f31c | |
parent | be0758b75ad7ffee2dd7adebd4991c0621e6a8c8 (diff) | |
download | php-git-d23d4fd61b8b8ad832aefe31f92d69e37eafed17.tar.gz |
Extend openssl_x509_check_private_key to test resource cert
-rw-r--r-- | ext/openssl/tests/openssl_x509_check_private_key_basic.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/tests/openssl_x509_check_private_key_basic.phpt b/ext/openssl/tests/openssl_x509_check_private_key_basic.phpt index b4842aae18..ca6eac948d 100644 --- a/ext/openssl/tests/openssl_x509_check_private_key_basic.phpt +++ b/ext/openssl/tests/openssl_x509_check_private_key_basic.phpt @@ -19,7 +19,7 @@ var_dump(openssl_x509_check_private_key($cert, $key)); var_dump(openssl_x509_check_private_key("", $key)); var_dump(openssl_x509_check_private_key($cert, "")); var_dump(openssl_x509_check_private_key("", "")); -var_dump(openssl_x509_check_private_key($a, $b)); +var_dump(openssl_x509_check_private_key(openssl_x509_read($a), $b)); ?> --EXPECT-- bool(true) |