]> granicus.if.org Git - php/commitdiff
Fixed bug #68658 (Define CURLE_SSL_CACERT_BADFILE)
authorPierrick Charron <pierrick@php.net>
Sun, 24 Apr 2016 02:55:00 +0000 (22:55 -0400)
committerPierrick Charron <pierrick@php.net>
Sun, 24 Apr 2016 02:55:00 +0000 (22:55 -0400)
NEWS
ext/curl/interface.c

diff --git a/NEWS b/NEWS
index 64a0743e9635103c08f5f32f80112c84b383bc44..cda406f8450867b775f3ee60534aebca034c6125 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,9 @@ PHP                                                                        NEWS
     (Nikita)
   . Fixed bug #72059 (?? is not allowed on constant expressions). (Bob, Marcio)
 
+- Curl:
+  . Fixed bug #68658 (Define CURLE_SSL_CACERT_BADFILE). (Pierrick)
+
 - JSON:
   . Fixed bug #72069 (Behavior \JsonSerializable different from json_encode).
     (Laruence)
index 51d4485773aa2a7434a2ff446e4d0b937ab8d839..f29a11a3fd4319578afe28c4774a263395070458 100644 (file)
@@ -1002,6 +1002,7 @@ PHP_MINIT_FUNCTION(curl)
 #endif
 
 #if LIBCURL_VERSION_NUM >= 0x071000 /* Available since 7.16.0 */
+       REGISTER_CURL_CONSTANT(CURLE_SSL_CACERT_BADFILE);
        REGISTER_CURL_CONSTANT(CURLOPT_SSL_SESSIONID_CACHE);
        REGISTER_CURL_CONSTANT(CURLMOPT_PIPELINING);
 #endif