Skip to content

Commit 91050cb

Browse files
committed
temp comment out TLS checkings
; '
1 parent 03e4b9a commit 91050cb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Core/HttpClients/CurlHttpClient.php

-5
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,6 @@ private function getHeaders($headers){
145145
* Set the SSL certifcate path and corresponding varaibles for cURL
146146
*/
147147
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-
}
153148
$curl_opt[CURLOPT_SSL_VERIFYPEER] = true;
154149
if($verifySSL){
155150
$curl_opt[CURLOPT_SSL_VERIFYHOST] = 2;

0 commit comments

Comments
 (0)