Commit:    763bce0303b3afd19d109d96c37d6d33a899e990
Author:    Pierrick Charron <pierr...@php.net>         Fri, 21 Dec 2012 
11:45:59 -0500
Parents:   180b9e150b71a2ff80b2a0cf89e2e834d18328e3
Branches:  PHP-5.4 PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=763bce0303b3afd19d109d96c37d6d33a899e990

Log:
Fix test

This test is only valid if libcurl < 7.28.1 since
libcurl removed support for the 1 value in CURLOPT_SSL_VERIFYHOST.

Changed paths:
  M  ext/curl/tests/bug63363.phpt


Diff:
diff --git a/ext/curl/tests/bug63363.phpt b/ext/curl/tests/bug63363.phpt
index 43deaa2..33a7d37 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--


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to