com php-src: Fixed bug #68658 (Define CURLE_SSL_CACERT_BA DFILE): NEWS ext/curl/interface.c
| From: | Pierrick Charron | Date: | Sun, 24 Apr 2016 02:55:00 +0000 |
| Subject: | com php-src: Fixed bug #68658 (Define CURLE_SSL_CACERT_BA DFILE): NEWS ext/curl/interface.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-91830@lists.php.net to get a copy of this message | ||
Commit: a2d78d1a5f1cf5904e59ab75c5b31f41a6cc0c6e
Author: Pierrick Charron <pierrick@php.net> Sat, 23 Apr 2016 22:55:00 -0400
Parents: 043ce195c6713352d1d492da559af36b5b2d390b
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a2d78d1a5f1cf5904e59ab75c5b31f41a6cc0c6e
Log:
Fixed bug #68658 (Define CURLE_SSL_CACERT_BADFILE)
Bugs:
https://bugs.php.net/68658
Changed paths:
M NEWS
M ext/curl/interface.c
Diff:
diff --git a/NEWS b/NEWS
index 64a0743..cda406f 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 51d4485..f29a11a 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