summaryrefslogtreecommitdiffstats
path: root/php-composer-ca-bundle-rpm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-composer-ca-bundle-rpm.patch')
-rw-r--r--php-composer-ca-bundle-rpm.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/php-composer-ca-bundle-rpm.patch b/php-composer-ca-bundle-rpm.patch
new file mode 100644
index 0000000..c2546e4
--- /dev/null
+++ b/php-composer-ca-bundle-rpm.patch
@@ -0,0 +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
+ */
+ public static function getBundledCaBundlePath()
+ {
+- return __DIR__.'/../res/cacert.pem';
++ return '/etc/pki/tls/certs/ca-bundle.crt'; // System CA, always
+ }
+
+ /**