From: Nicolas Ganivet Date: Mon, 6 Oct 2014 21:53:24 +0000 (-0600) Subject: CRM-13227, CRM-14744: full fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8d1adeef895aae91dfaaabad07675bb922d86ac5;p=civicrm-core.git CRM-13227, CRM-14744: full fix --- diff --git a/CRM/Utils/System.php b/CRM/Utils/System.php index 94fc2b69b9..2aef7f3725 100644 --- a/CRM/Utils/System.php +++ b/CRM/Utils/System.php @@ -981,7 +981,8 @@ class CRM_Utils_System { // lets capture the return stuff rather than echo curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE ); - return curl_exec($ch); + // CRM-13227, CRM-14744: only return the SSL error status + return (curl_exec($ch) !== FALSE); } /**