diff options
Diffstat (limited to 'docs/examples/imap-ssl.c')
-rw-r--r-- | docs/examples/imap-ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/imap-ssl.c b/docs/examples/imap-ssl.c index e42ff3922..eec9b0e31 100644 --- a/docs/examples/imap-ssl.c +++ b/docs/examples/imap-ssl.c @@ -60,7 +60,7 @@ int main(void) * they have mentioned in their server certificate's commonName (or * subjectAltName) fields, libcurl will refuse to connect. You can skip * this check, but this will make the connection less secure. */ -#ifdef SKIP_HOSTNAME_VERFICATION +#ifdef SKIP_HOSTNAME_VERIFICATION curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); #endif |