summaryrefslogtreecommitdiff
path: root/ext/openssl/tests/openssl_error_string_basic.phpt
diff options
context:
space:
mode:
authorJakub Zelenka <bukka@php.net>2016-06-16 20:11:54 +0100
committerJakub Zelenka <bukka@php.net>2016-06-16 20:11:54 +0100
commit307e546e1a41b51b0ff5fd918315c3626d7b6385 (patch)
tree765a4c92606cace2f873f55978809bc3cfd25fd2 /ext/openssl/tests/openssl_error_string_basic.phpt
parentcc8ffa6911f7426fa8021483a47ec1dd02f17202 (diff)
parent0c34f53c93d65ef4741a9c6493f84a13ab68cb72 (diff)
downloadphp-git-307e546e1a41b51b0ff5fd918315c3626d7b6385.tar.gz
Merge branch 'PHP-5.6' into PHP-7.0
Diffstat (limited to 'ext/openssl/tests/openssl_error_string_basic.phpt')
-rw-r--r--ext/openssl/tests/openssl_error_string_basic.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/tests/openssl_error_string_basic.phpt b/ext/openssl/tests/openssl_error_string_basic.phpt
index 76bc2d570a..82f3099264 100644
--- a/ext/openssl/tests/openssl_error_string_basic.phpt
+++ b/ext/openssl/tests/openssl_error_string_basic.phpt
@@ -128,8 +128,8 @@ echo "CSR errors\n";
@openssl_csr_get_subject("file://" . $invalid_file_for_read);
expect_openssl_errors('openssl_csr_get_subject open', ['02001002', '2006D080', '20068079', '0906D06C']);
// file or str csr is not correct PEM - failing PEM_read_bio_X509_REQ
-openssl_csr_get_subject($crt_file);
-@expect_openssl_errors('openssl_csr_get_subjec pem', ['0906D06C']);
+@openssl_csr_get_subject($crt_file);
+expect_openssl_errors('openssl_csr_get_subjec pem', ['0906D06C']);
// other possible cuases that are difficult to catch:
// - ASN1_STRING_to_UTF8 fails in add_assoc_name_entry