Req #68658 [Asn->Csd]: Define CURLE_SSL_CACERT_BADFILE
| From: | pierrick@php.net | Date: | Sun, 24 Apr 2016 02:56:24 +0000 |
| Subject: | Req #68658 [Asn->Csd]: Define CURLE_SSL_CACERT_BADFILE | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-200729@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68658&edit=1
ID: 68658
Updated by: pierrick@php.net
Reported by: clicky at erebot dot net
Summary: Define CURLE_SSL_CACERT_BADFILE
-Status: Assigned
+Status: Closed
Type: Feature/Change Request
Package: cURL related
Operating System: irrelevant
PHP Version: Irrelevant
Assigned To: pierrick
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of pierrick
Revision: http://git.php.net/?p=php-src.git;a=commit;h=a2d78d1a5f1cf5904e59ab75c5b31f41a6cc0c6e
Log: Fixed bug #68658 (Define CURLE_SSL_CACERT_BADFILE)
Previous Comments:
------------------------------------------------------------------------
[2014-12-26 23:23:12] clicky at erebot dot net
Description:
------------
Please add support for the cURL constant "CURLE_SSL_CACERT_BADFILE".
This constant was introduced in cURL 7.16.0 (released in 2006) and is returned in some cases by cURL
when the given CA certificate could not be parsed (such as when it does not actually contain a
certificate).
Test script:
---------------
<?php var_dump(CURLE_SSL_CACERT_BADFILE); ?>
Expected result:
----------------
int(77)
Actual result:
--------------
PHP Notice: Use of undefined constant CURLE_SSL_CACERT_BADFILE - assumed
'CURLE_SSL_CACERT_BADFILE' in %s on line %d
PHP Stack trace:
PHP 1. {main}() %s:%d
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68658&edit=1