]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14959 Skip cert verification
authorethem <ethem>
Fri, 20 Jun 2008 11:11:01 +0000 (11:11 +0000)
committerethem <ethem>
Fri, 20 Jun 2008 11:11:01 +0000 (11:11 +0000)
enrol/authorize/authorizenet.class.php

index 0040fec55a47ce521189ee1e8d4c43ba5248c987..e5ff69f1a2ec9049ea6d8916d901b94b68c0aa7d 100644 (file)
@@ -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;