From: ethem Date: Fri, 20 Jun 2008 11:11:01 +0000 (+0000) Subject: MDL-14959 Skip cert verification X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e5bd3250fa860049fdcc6f2ec1b2cfcf1f0c6bdc;p=moodle.git MDL-14959 Skip cert verification --- diff --git a/enrol/authorize/authorizenet.class.php b/enrol/authorize/authorizenet.class.php index 0040fec55a..e5ff69f1a2 100644 --- a/enrol/authorize/authorizenet.class.php +++ b/enrol/authorize/authorizenet.class.php @@ -252,7 +252,7 @@ class AuthorizeNet } $host = $test ? 'certification.authorize.net' : 'secure.authorize.net'; - $data = download_file_content("https://$host:443/gateway/transact.dll", $headers, $pd, false, 60); + $data = download_file_content("https://$host:443/gateway/transact.dll", $headers, $pd, false, 300, 60, true); if (!$data) { $message = "No connection to https://$host:443"; return AN_RETURNZERO;