Skip to content

set curlopt_ssl_verifyhost to 2 instead of true #8

@ghbob

Description

@ghbob

We ran into an issue because of WebSmsCom_Toolkit.inc#L129 / L335:

curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead

Support for 1 for CURLOPT_SSL_VERIFYHOST was dropped from cURL 7.28.1 onwards (20.11.2012):
https://curl.se/changes.html#7_28_1

The cURL author wrote a blog post about why:
https://daniel.haxx.se/blog/2012/10/25/libcurl-claimed-to-be-dangerous/

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions