From e5bd3250fa860049fdcc6f2ec1b2cfcf1f0c6bdc Mon Sep 17 00:00:00 2001 From: ethem Date: Fri, 20 Jun 2008 11:11:01 +0000 Subject: [PATCH] MDL-14959 Skip cert verification --- enrol/authorize/authorizenet.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5