diff --git a/src/Composer/Util/RemoteFilesystem.php b/src/Composer/Util/RemoteFilesystem.php index 9a94883fd..f9177a697 100644 --- a/src/Composer/Util/RemoteFilesystem.php +++ b/src/Composer/Util/RemoteFilesystem.php @@ -12,7 +12,6 @@ namespace Composer\Util; -use Composer\Composer; use Composer\Config; use Composer\IO\IOInterface; use Composer\Downloader\TransportException; @@ -691,7 +690,7 @@ class RemoteFilesystem ); $configured = ini_get('openssl.cafile'); - if ($configured && strlen($configured) > 0 && is_readable($caBundle) && self::validateCaFile(file_get_contents($caBundle))) { + if ($configured && strlen($configured) > 0 && is_readable($configured) && self::validateCaFile(file_get_contents($configured))) { return $caPath = $configured; }