summaryrefslogtreecommitdiff
path: root/lib/version.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-03-26 13:05:03 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-03-27 09:04:27 +0100
commit6de756c9b1de34b7a1b1d6cd978ca75f3b1d719b (patch)
treed59970370b7d7ba0332959f3a21bab1a17d74fa5 /lib/version.c
parent62112d2bb49bf6ac79d45d65d60e270fa9e7b611 (diff)
downloadcurl-6de756c9b1de34b7a1b1d6cd978ca75f3b1d719b.tar.gz
version: add 'cainfo' and 'capath' to version info struct
Suggested-by: Timothe Litt URL: https://curl.haxx.se/mail/lib-2020-03/0090.html Reviewed-by: Jay Satiro Closes #5150
Diffstat (limited to 'lib/version.c')
-rw-r--r--lib/version.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/version.c b/lib/version.c
index c7fe42a07..ed5592a26 100644
--- a/lib/version.c
+++ b/lib/version.c
@@ -404,7 +404,17 @@ static curl_version_info_data version_info = {
NULL, /* brotli version */
0, /* nghttp2 version number */
NULL, /* nghttp2 version string */
- NULL /* quic library string */
+ NULL, /* quic library string */
+#ifdef CURL_CA_BUNDLE
+ CURL_CA_BUNDLE, /* cainfo */
+#else
+ NULL,
+#endif
+#ifdef CURL_CA_PATH
+ CURL_CA_PATH /* capath */
+#else
+ NULL
+#endif
};
curl_version_info_data *curl_version_info(CURLversion stamp)