From: Michael Wallner Date: Sun, 15 Feb 2015 09:28:44 +0000 (+0100) Subject: fix test with non-openssl X-Git-Tag: RELEASE_2_3_0_RC1~25 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=8573aba3509b1b6eb197ae59d32ca7c81bfe957e;p=m6w6%2Fext-http fix test with non-openssl --- diff --git a/tests/client012.phpt b/tests/client012.phpt index 8db3afc..306f26e 100644 --- a/tests/client012.phpt +++ b/tests/client012.phpt @@ -26,7 +26,7 @@ $client->send(); $ti = (array) $client->getTransferInfo($req); var_dump(array_key_exists("ssl_engines", $ti)); -var_dump(0 < count($ti["ssl_engines"])); +var_dump(0 < count($ti["ssl_engines"] || $ti["tls_session"]["backend"] != "openssl")); ?> Done --EXPECTF--