fix test with non-openssl
[m6w6/ext-http] / tests / client012.phpt
index 8db3afcc2c3807fcfcd80c25b4ef85e4bae432d5..306f26eb9d3101c52e7538b1b44d220e4b85374d 100644 (file)
@@ -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--