fix test with non-openssl
authorMichael Wallner <mike@php.net>
Sun, 15 Feb 2015 09:28:44 +0000 (10:28 +0100)
committerMichael Wallner <mike@php.net>
Sun, 15 Feb 2015 09:28:44 +0000 (10:28 +0100)
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--