From a2d78d1a5f1cf5904e59ab75c5b31f41a6cc0c6e Mon Sep 17 00:00:00 2001 From: Pierrick Charron Date: Sat, 23 Apr 2016 22:55:00 -0400 Subject: [PATCH] Fixed bug #68658 (Define CURLE_SSL_CACERT_BADFILE) --- NEWS | 3 +++ ext/curl/interface.c | 1 + 2 files changed, 4 insertions(+) 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 -- 2.40.0