]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLINFO_CAINFO/PATH.3: clarify the multiple TLS situation
authorDaniel Stenberg <daniel@haxx.se>
Sat, 28 May 2022 23:47:50 +0000 (01:47 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 29 May 2022 15:01:42 +0000 (17:01 +0200)
Spell out the multi-TLS situation.

Reported-by: Dan Fandrich
Fixes #8926
Closes #8932

docs/libcurl/opts/CURLINFO_CAINFO.3
docs/libcurl/opts/CURLINFO_CAPATH.3

index e0a04768290f2d7d6c42791f32a1302e5f2453ea..004cd2c89c0273a74ff2b69f165df7534c672f05 100644 (file)
@@ -34,6 +34,10 @@ Pass a pointer to a char pointer to receive the pointer to a null-terminated
 string holding the default built-in path used for the \fICURLOPT_CAINFO(3)\fP
 option unless set by the user.
 
+Note that in a situation where libcurl has been built to support multiple TLS
+libraries, this option might return a string even if the specific TLS library
+currently set to be used does not support \fICURLOPT_CAINFO(3)\fP.
+
 This is a path identifying a single file containing CA certificates.
 
 The \fBpath\fP pointer will be NULL if there is no default path.
index f694186e1653f8001a1568a01e8054dcb1fc40d0..0d9ea654b0f7dcaea5b3234768a49e64dbc90686 100644 (file)
@@ -34,6 +34,10 @@ Pass a pointer to a char pointer to receive the pointer to a null-terminated
 string holding the default built-in path used for the \fICURLOPT_CAPATH(3)\fP
 option unless set by the user.
 
+Note that in a situation where libcurl has been built to support multiple TLS
+libraries, this option might return a string even if the specific TLS library
+currently set to be used does not support \fICURLOPT_CAPATH(3)\fP.
+
 This is a path identifying a directory.
 
 The \fBpath\fP pointer will be NULL if there is no default path.