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 8db3afc..306f26e 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--