Req #68658 [Opn->Asn]: Define CURLE_SSL_CACERT_BADFILE

From: Date: Sun, 28 Dec 2014 18:47:29 +0000
Subject: Req #68658 [Opn->Asn]: Define CURLE_SSL_CACERT_BADFILE
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189249@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:         kalle@php.net
 Reported by:        clicky at erebot dot net
 Summary:            Define CURLE_SSL_CACERT_BADFILE
-Status:             Open
+Status:             Assigned
 Type:               Feature/Change Request
 Package:            cURL related
 Operating System:   irrelevant
 PHP Version:        Irrelevant
-Assigned To:        
+Assigned To:        pierrick
 Block user comment: N
 Private report:     N



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


Thread (3 messages)

« previous php.bugs (#189249) next »