Skip to content

Commit 3b47591

Browse files
committed
Don't use xml resource in openssl test
Instead use a file resource, removing the dependency on ext/xml.
1 parent 3e4b977 commit 3b47591

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/openssl/tests/bug68912.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ Bug #68912 (Segmentation fault at openssl_spki_new)
33
--SKIPIF--
44
<?php
55
if (!extension_loaded("openssl")) die("skip");
6-
if (!extension_loaded("xml")) die("skip xml extension not loaded");
76
if (!@openssl_pkey_new()) die("skip cannot create private key");
87
?>
98
--FILE--
109
<?php
1110

12-
$var1=xml_parser_create_ns();
11+
$var1=fopen(__FILE__, 'r');
1312
$var2=2;
1413
$var3=3;
1514

0 commit comments

Comments
 (0)