diff --git a/ykval-synchronize b/ykval-synchronize index 70469bd..9be43c2 100755 --- a/ykval-synchronize +++ b/ykval-synchronize @@ -55,7 +55,6 @@ $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_USERAGENT, "YK-VAL"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); -curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_FAILONERROR, true); $response = curl_exec($ch); diff --git a/ykval-synclib.php b/ykval-synclib.php index bf17846..32a2d12 100644 --- a/ykval-synclib.php +++ b/ykval-synclib.php @@ -330,7 +330,6 @@ class SyncLib curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_USERAGENT, "YK-VAL"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); - curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_FAILONERROR, true); curl_setopt($ch, CURLOPT_TIMEOUT, $timeout); $response = curl_exec($ch);