php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #68658 Define CURLE_SSL_CACERT_BADFILE
Submitted: 2014-12-26 23:23 UTC Modified: 2014-12-28 18:47 UTC
Votes:1
Avg. Score:2.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: clicky at erebot dot net Assigned: pierrick (profile)
Status: Closed Package: cURL related
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: clicky at erebot dot net
New email:
PHP Version: OS:

 

 [2014-12-26 23:23 UTC] 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


Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-12-28 18:47 UTC] kalle@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: pierrick
 [2016-04-24 02:56 UTC] pierrick@php.net
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)
 [2016-04-24 02:56 UTC] pierrick@php.net
-Status: Assigned +Status: Closed
 [2016-04-24 02:56 UTC] pierrick@php.net
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)
 [2016-07-20 11:31 UTC] davey@php.net
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)
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Mon Dec 17 03:01:26 2018 UTC