yos-social-php5
yos-social-php5 copied to clipboard
Wrong option for CURLOPT_SSL_VERIFYHOST in YahooCurl.class.php
In YahooCurl.class.php line 122 there is this code:
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, true);
However, CURLOPT_SSL_VERIFYHOST is actually a numeric option, not boolean, and value of 1 is deprecated by curl and produces error message in modern PHP version. The correct value should be 0 or 2.
i got ssl verify error! so i turned off in code!
seems to be fixed with e4891915
yeah fixed! 👍