From: Pierrick Charron Date: Sun, 24 Apr 2016 02:55:00 +0000 (-0400) Subject: Fixed bug #68658 (Define CURLE_SSL_CACERT_BADFILE) X-Git-Tag: php-7.0.7RC1~76 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2d78d1a5f1cf5904e59ab75c5b31f41a6cc0c6e;p=php Fixed bug #68658 (Define CURLE_SSL_CACERT_BADFILE) --- diff --git a/NEWS b/NEWS index 64a0743e96..cda406f845 100644 --- 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) diff --git a/ext/curl/interface.c b/ext/curl/interface.c index 51d4485773..f29a11a3fd 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -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