summaryrefslogtreecommitdiff
path: root/ext/openssl
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2018-09-17 10:20:26 +0200
committerNikita Popov <nikita.ppv@gmail.com>2018-09-17 10:20:26 +0200
commit3b475910d69a5bcddaf0b78aa29fdea2e0057d31 (patch)
tree37d03b3e058061df575e78637ccf1ae4a0721d75 /ext/openssl
parent3e4b977df61ef6642840feb18cbf1a26128d4454 (diff)
downloadphp-git-3b475910d69a5bcddaf0b78aa29fdea2e0057d31.tar.gz
Don't use xml resource in openssl test
Instead use a file resource, removing the dependency on ext/xml.
Diffstat (limited to 'ext/openssl')
-rw-r--r--ext/openssl/tests/bug68912.phpt3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/openssl/tests/bug68912.phpt b/ext/openssl/tests/bug68912.phpt
index c18291a6ec..dae57e9fdc 100644
--- a/ext/openssl/tests/bug68912.phpt
+++ b/ext/openssl/tests/bug68912.phpt
@@ -3,13 +3,12 @@ Bug #68912 (Segmentation fault at openssl_spki_new)
--SKIPIF--
<?php
if (!extension_loaded("openssl")) die("skip");
-if (!extension_loaded("xml")) die("skip xml extension not loaded");
if (!@openssl_pkey_new()) die("skip cannot create private key");
?>
--FILE--
<?php
-$var1=xml_parser_create_ns();
+$var1=fopen(__FILE__, 'r');
$var2=2;
$var3=3;