mirror of
https://github.com/curl/curl.git
synced 2026-07-17 10:27:16 +03:00
CURLOPT_CA*: better refering between *CAINFO and *CAPATH
... and a minor wording edit
This commit is contained in:
parent
9e50d8f8bc
commit
0b48d1c821
2 changed files with 6 additions and 4 deletions
|
|
@ -52,4 +52,5 @@ If built TLS enabled
|
|||
Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
|
||||
CURLE_OUT_OF_MEMORY if there was insufficient heap space.
|
||||
.SH "SEE ALSO"
|
||||
.BR CURLOPT_CAPATH "(3), "
|
||||
.BR CURLOPT_SSL_VERIFYPEER "(3), " CURLOPT_SSL_VERIFYHOST "(3), "
|
||||
|
|
|
|||
|
|
@ -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. 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.
|
||||
\fICURLOPT_SSL_VERIFYPEER(3)\fP option.
|
||||
|
||||
The \fICURLOPT_CAPATH(3)\fP function apparently does not work in Windows due
|
||||
to some limitation in openssl.
|
||||
.SH DEFAULT
|
||||
NULL
|
||||
.SH PROTOCOLS
|
||||
|
|
@ -50,4 +50,5 @@ 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), "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue