Skip to content

Fix inverted parameter on curl_verify option check#131

Open
joaomath wants to merge 1 commit into
greggilbert:masterfrom
joaomath:master
Open

Fix inverted parameter on curl_verify option check#131
joaomath wants to merge 1 commit into
greggilbert:masterfrom
joaomath:master

Conversation

@joaomath
Copy link
Copy Markdown

@joaomath joaomath commented Apr 8, 2017

It was adding the CURLOPT_SSL_VERIFYPEER to curl only if curl_verify was equal to false, which is semantically a contradiction.

…e CURLOPT_SSL_VERIFYPEER to curl only if curl_verify was equal to false.
@greggilbert
Copy link
Copy Markdown
Owner

Hmm? The point was that it defaults to true if it's not defined or if it's set to true - and only disables peer if it's explicitly set to false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants