Fix: force to use sslv3

This commit is contained in:
Regis Houssin 2012-03-07 13:39:05 +01:00
parent 4e99563831
commit fb09e188ff

View File

@ -676,6 +676,7 @@ function hash_call($methodName,$nvpStr)
exit;*/
curl_setopt($ch, CURLOPT_URL, $API_Endpoint);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_SSLVERSION, 3); // Force SSLv3
//turning off the server and peer verification(TrustManager Concept).
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);