ssl: Avoid explicitly setting verifypeer to 1
It is the default, just like verifyhost.
I was wondering also about the lengthy documentation of the differences between 1 and 2 for CURLOPT_SSL_VERIFYHOST. It looks like the effective default is TRUE (I couldn't find 2 anywhere), and there is no difference for current versions between 1 and 2, so maybe the documentation should not state the difference in the main description? It can be stated later in a comment, that previous versions had a difference between 1 and 2 and describe this difference.
Same goes for CURLOPT_DOH_SSL_VERIFYHOST.
I can agree to this change. But I would also like:
- the code removed, not commented. The entire else clause is unused then.
- the same logic applied to the proxy and doh equivalent options
I can agree to this change. But I would also like:
- the code removed, not commented. The entire else clause is unused then.
- the same logic applied to the proxy and doh equivalent options
Done
Thanks!