Revert "Update to 7.40.1"
[platform/upstream/curl.git] / docs / libcurl / opts / CURLOPT_CAPATH.3
index 642953d..1edfbcd 100644 (file)
@@ -32,10 +32,10 @@ Pass a char * to a zero terminated string naming a directory holding multiple
 CA certificates to verify the peer with. If libcurl is built against OpenSSL,
 the certificate directory must be prepared using the openssl c_rehash utility.
 This makes sense only when used in combination with the
-\fICURLOPT_SSL_VERIFYPEER(3)\fP option.
-
-The \fICURLOPT_CAPATH(3)\fP function apparently does not work in Windows due
-to some limitation in openssl.
+\fICURLOPT_SSL_VERIFYPEER(3)\fP option.  If \fICURLOPT_SSL_VERIFYPEER(3)\fP is
+zero, \fICURLOPT_CAPATH(3)\fP need not even indicate an accessible path.  The
+\fICURLOPT_CAPATH(3)\fP function apparently does not work in Windows due to
+some limitation in openssl.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
@@ -50,5 +50,4 @@ compatibility.
 Returns CURLE_OK if TLS enabled, and CURLE_UNKNOWN_OPTION if not, or
 CURLE_OUT_OF_MEMORY if there was insufficient heap space.
 .SH "SEE ALSO"
-.BR CURLOPT_CAINFO "(3), "
 .BR CURLOPT_STDERR "(3), " CURLOPT_DEBUGFUNCTION "(3), "