From e42d4e5168119e660e739e29581e29e5fc9ab1af Mon Sep 17 00:00:00 2001 From: root Date: Mon, 20 Apr 2015 02:35:25 +0000 Subject: [PATCH] Set curlopt to 2, Fixes #4 --- thermostats/honeywell/scrape.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thermostats/honeywell/scrape.php b/thermostats/honeywell/scrape.php index 665f1e7..75216fe 100644 --- a/thermostats/honeywell/scrape.php +++ b/thermostats/honeywell/scrape.php @@ -9,7 +9,7 @@ function login($usr, $pwd){ curl_setopt($ch, CURLOPT_NOBODY, false); curl_setopt($ch, CURLOPT_URL, $url); - curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1); + curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); $headers = array( 'Content-Type' => 'application/x-www-form-urlencoded',