We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a14bed0 commit c97890cCopy full SHA for c97890c
tests/GeoIp2/Test/WebService/ClientTest.php
@@ -503,7 +503,12 @@ private function makeRequest(
503
'Accept: application/json',
504
];
505
506
- $caBundle = CaBundle::getSystemCaRootBundlePath();
+ $curlVersion = curl_version();
507
+
508
+ // On macOS, when the SSL version is "SecureTransport", the system's
509
+ // keychain will be used.
510
+ $caBundle = $curlVersion['ssl_version'] === 'SecureTransport' ?
511
+ null : CaBundle::getSystemCaRootBundlePath();
512
513
$curlVersion = curl_version();
514
$factory->expects($this->exactly($callsToRequest))
0 commit comments