--- curl-7.19.7/docs/libcurl/curl_easy_setopt.3 2009-08-04 14:02:27.000000000 +0200 +++ curl-7.19.7-new/docs/libcurl/curl_easy_setopt.3 2009-11-23 11:45:14.000000000 +0100 @@ -411,7 +411,7 @@ by the library. You should keep the associated storage available until libcurl no longer needs it. Failing to do so will cause very odd behavior or even crashes. libcurl will need it until you call \fIcurl_easy_cleanup(3)\fP -or you set the same option again to use a different pointer. +or you set the same option again to use a different pointer. Use \fICURLOPT_VERBOSE\fP and \fICURLOPT_DEBUGFUNCTION\fP to better debug/trace why errors happen. @@ -1669,19 +1669,21 @@ When negotiating a SSL connection, the server sends a certificate indicating its identity. -When \fICURLOPT_SSL_VERIFYHOST\fP is 2, that certificate must indicate that -the server is the server to which you meant to connect, or the connection -fails. +When \fICURLOPT_SSL_VERIFYHOST\fP is 2 +(\fICURL_SSL_VERIFYHOST_NAME_MATCH_URL\fP), that certificate must +indicate that the server is the server to which you meant to connect, or +the connection fails. Curl considers the server the intended one when the Common Name field or a Subject Alternate Name field in the certificate matches the host name in the URL to which you told Curl to connect. -When the value is 1, the certificate must contain a Common Name field, but it -doesn't matter what name it says. (This is not ordinarily a useful setting). +When the value is 1 (\fICURL_SSL_VERIFYHOST_HAS_NAME\fP), the +certificate must contain a Common Name field, but it doesn't matter what +name it says. (This is not ordinarily a useful setting). -When the value is 0, the connection succeeds regardless of the names in the -certificate. +When the value is 0 (\fICURL_SSL_VERIFYHOST_IGNORE\fP), the connection +succeeds regardless of the names in the certificate. The default, since 7.10, is 2.