We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03e4b9a commit 91050cbCopy full SHA for 91050cb
src/Core/HttpClients/CurlHttpClient.php
@@ -145,11 +145,6 @@ private function getHeaders($headers){
145
* Set the SSL certifcate path and corresponding varaibles for cURL
146
*/
147
private function setSSL(&$curl_opt, $verifySSL){
148
- $tlsVersion = $this->basecURL->versionOfTLS();
149
- $versions = ['TLS 1.2', 'TLS 1.3'];
150
- if(! in_array($tlsVersion, $versions)){
151
- throw new SdkException("Error. Checking TLS 1.2/1.3 version failed. Please make sure your PHP cURL supports TLS 1.2/1.3");
152
- }
153
$curl_opt[CURLOPT_SSL_VERIFYPEER] = true;
154
if($verifySSL){
155
$curl_opt[CURLOPT_SSL_VERIFYHOST] = 2;
0 commit comments