diff options
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php index 6312fa761..5e4d693c8 100644 --- a/include/functions.php +++ b/include/functions.php @@ -349,6 +349,10 @@ curl_setopt($ch, CURLOPT_POSTFIELDS, $post_query); } + if ((OPENSSL_VERSION_NUMBER >= 0x0090808f) && (OPENSSL_VERSION_NUMBER < 0x10000000)) { + curl_setopt($curl, CURLOPT_SSLVERSION, 3); + } + if ($login && $pass) curl_setopt($ch, CURLOPT_USERPWD, "$login:$pass"); |