From 8573aba3509b1b6eb197ae59d32ca7c81bfe957e Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Sun, 15 Feb 2015 10:28:44 +0100 Subject: [PATCH 1/1] fix test with non-openssl --- tests/client012.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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-- -- 2.30.2