summaryrefslogtreecommitdiff
path: root/ext/openssl/tests/cve2013_4073.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/tests/cve2013_4073.phpt')
-rw-r--r--ext/openssl/tests/cve2013_4073.phpt5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/openssl/tests/cve2013_4073.phpt b/ext/openssl/tests/cve2013_4073.phpt
index e676ddfb99..d1ba849ba6 100644
--- a/ext/openssl/tests/cve2013_4073.phpt
+++ b/ext/openssl/tests/cve2013_4073.phpt
@@ -1,14 +1,13 @@
--TEST--
CVE 2013-4073: Null-byte certificate handling
--SKIPIF--
-<?php
-if (!extension_loaded("openssl")) die("skip");
+<?php if (!extension_loaded("openssl")) die("skip"); ?>
--FILE--
<?php
$cert = file_get_contents(__DIR__ . '/cve2013_4073.pem');
$info = openssl_x509_parse($cert);
var_export($info['extensions']);
-
+?>
--EXPECTF--
array (
'basicConstraints' => 'CA:FALSE',