diff options
Diffstat (limited to 'php-composer-ca-bundle-rpm.patch')
-rw-r--r-- | php-composer-ca-bundle-rpm.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/php-composer-ca-bundle-rpm.patch b/php-composer-ca-bundle-rpm.patch index c2546e4..54f656d 100644 --- a/php-composer-ca-bundle-rpm.patch +++ b/php-composer-ca-bundle-rpm.patch @@ -1,12 +1,12 @@ diff -up src/CaBundle.php.rpm src/CaBundle.php ---- src/CaBundle.php.rpm 2016-04-30 09:44:06.624946839 +0200 -+++ src/CaBundle.php 2016-04-30 09:44:37.576088602 +0200 -@@ -129,7 +129,7 @@ class CaBundle +--- src/CaBundle.php.rpm 2017-11-30 07:12:46.773928987 +0100 ++++ src/CaBundle.php 2017-11-30 07:15:28.549820032 +0100 +@@ -130,7 +130,7 @@ class CaBundle */ public static function getBundledCaBundlePath() { -- return __DIR__.'/../res/cacert.pem'; -+ return '/etc/pki/tls/certs/ca-bundle.crt'; // System CA, always - } +- $caBundleFile = __DIR__.'/../res/cacert.pem'; ++ $caBundleFile = '/etc/pki/tls/certs/ca-bundle.crt'; // System CA, always - /** + // cURL does not understand 'phar://' paths + // see https://github.com/composer/ca-bundle/issues/10 |