Skip to content

Commit 91d67c5

Browse files
committed
Since CURLOPT_SSL_VERIFYHOST is an integer setting, we're now using 0 instead of false.
1 parent 8a90cf5 commit 91d67c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function send_request(array $request)
102102
curl_setopt($curl, CURLOPT_POSTFIELDS, $request_json);
103103

104104
if ($this->verify_ssl === false) {
105-
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
105+
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0);
106106
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
107107
}
108108

0 commit comments

Comments
 (0)