From 8d1adeef895aae91dfaaabad07675bb922d86ac5 Mon Sep 17 00:00:00 2001 From: Nicolas Ganivet Date: Mon, 6 Oct 2014 15:53:24 -0600 Subject: [PATCH] CRM-13227, CRM-14744: full fix --- CRM/Utils/System.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } /** -- 2.25.1