Req #68658 [NEW]: Define CURLE_SSL_CACERT_BADFILE

From: Date: Fri, 26 Dec 2014 23:23:13 +0000
Subject: Req #68658 [NEW]: Define CURLE_SSL_CACERT_BADFILE
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189222@lists.php.net to get a copy of this message
From: clicky at erebot dot net Operating system: irrelevant PHP version: Irrelevant Package: cURL related Bug Type: Feature/Change Request Bug description:Define CURLE_SSL_CACERT_BADFILE 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 bug report at https://bugs.php.net/bug.php?id=68658&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68658&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68658&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68658&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=68658&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=68658&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=68658&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=68658&r=needscript Try newer version: https://bugs.php.net/fix.php?id=68658&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=68658&r=support Expected behavior: https://bugs.php.net/fix.php?id=68658&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=68658&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=68658&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=68658&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68658&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=68658&r=dst IIS Stability: https://bugs.php.net/fix.php?id=68658&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=68658&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=68658&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=68658&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=68658&r=mysqlcfg

« previous php.bugs (#189222) next »