Skip to content

Commit c68a901

Browse files
committed
Added CHECK_LIB
1 parent 5db3bf2 commit c68a901

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ext/soap/config.w32

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ if (PHP_SOAP != "no") {
1313

1414
if (!PHP_SOAP_SHARED) {
1515
ADD_FLAG('CFLAGS_SOAP', "/D LIBXML_STATIC ");
16+
} else {
17+
if (!CHECK_LIB('libxml2.lib', 'soap')) {
18+
WARNING("soap support can't be enabled, libxml is not found");
19+
}
1620
}
1721
} else {
1822
WARNING("soap not enabled, libxml not found");

ext/soap/tests/wss/T09.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ var_dump($client->__setWSS(array(
167167
return $data;
168168
},
169169
"x509_binsectoken" => null,
170-
"digest_method" => SOAP_WSS_DIGEST_METHOD_SHA256,
170+
"digest_method" => SOAP_WSS_DIGEST_METHOD_SHA256,
171171
"add_timestamp" => true,
172172
"timestamp_expires" => 120,
173173
"random_id" => true,

0 commit comments

Comments
 (0)