From e931a04823b8e86079520b1c477e83b58f4f0cb7 Mon Sep 17 00:00:00 2001 From: David Jardin Date: Wed, 17 Dec 2025 10:52:47 +0100 Subject: [PATCH] remove redundant calls, breaking usage with ca path options --- src/Transport/Curl.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Transport/Curl.php b/src/Transport/Curl.php index 714a70e7..69d6cbdc 100644 --- a/src/Transport/Curl.php +++ b/src/Transport/Curl.php @@ -69,9 +69,6 @@ public function request($method, UriInterface $uri, $data = null, array $headers // Don't wait for body when $method is HEAD $options[\CURLOPT_NOBODY] = ($method === 'HEAD'); - // Initialize the certificate store - $options[CURLOPT_CAINFO] = $this->getOption('curl.certpath', CaBundle::getSystemCaRootBundlePath()); - // If data exists let's encode it and make sure our Content-type header is set. if (isset($data)) { // If the data is a scalar value simply add it to the cURL post fields.