From 4e4eebbda8a4763559f4bae67a24c637ca319e5f Mon Sep 17 00:00:00 2001 From: "Mario E. Moreno" Date: Tue, 10 Jul 2018 16:43:27 -0600 Subject: [PATCH] Compliance with TLS 1.2 Hello, with the new standards it is required that at least TLS 1.2 is used, under previous version than PHP 7, it is not "assumed" as TLS 1.2, this change will ensure 1.2 is used. --- lib/CurlTransport.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/CurlTransport.php b/lib/CurlTransport.php index e83ebb2..8748ad9 100644 --- a/lib/CurlTransport.php +++ b/lib/CurlTransport.php @@ -12,6 +12,7 @@ function __construct() { curl_setopt($this->ch, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($this->ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($this->ch, CURLOPT_ENCODING, "gzip"); + curl_setopt($this->ch, CURLOPT_SSLVERSION, 6); } function __destruct() {