Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
khepin committed Sep 29, 2023
1 parent 9e4f32e commit d690340
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Queue/Connection/ConnectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,14 @@ protected static function getReadWriteTimeout(AMQPConnectionConfig $config): flo

protected static function getSslOptions(AMQPConnectionConfig $config): array
{
$path = null;
if (method_exists($config, 'getSslCaPath')) {
$path = $config->getSslCaPath();
}

return array_filter([
'cafile' => $config->getSslCaCert(),
'capath' => $config->getSslCaPath(),
'capath' => $path,
'local_cert' => $config->getSslCert(),
'local_pk' => $config->getSslKey(),
'verify_peer' => $config->getSslVerify(),
Expand Down

0 comments on commit d690340

Please sign in to comment.