From: Pierrick Charron Date: Fri, 21 Dec 2012 16:45:59 +0000 (-0500) Subject: Fix test X-Git-Tag: php-5.4.11RC1~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=763bce0303b3afd19d109d96c37d6d33a899e990;p=php Fix test This test is only valid if libcurl < 7.28.1 since libcurl removed support for the 1 value in CURLOPT_SSL_VERIFYHOST. --- diff --git a/ext/curl/tests/bug63363.phpt b/ext/curl/tests/bug63363.phpt index 43deaa2346..33a7d37bcb 100644 --- a/ext/curl/tests/bug63363.phpt +++ b/ext/curl/tests/bug63363.phpt @@ -5,6 +5,11 @@ Bug #63363 (CURL silently accepts boolean value for SSL_VERIFYHOST) if (!extension_loaded("curl")) { exit("skip curl extension not loaded"); } +$curl_version = curl_version(); +if ($curl_version['version_number'] >= 0x071c01) { + exit("skip: test valid for libcurl < 7.28.1"); +} + ?> --FILE--