summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--ext/curl/interface.c1
2 files changed, 4 insertions, 0 deletions
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