summaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2022-10-12 12:12:08 +0100
committerDaniel Stenberg <daniel@haxx.se>2022-11-08 10:06:12 +0100
commit1fdca35ddd9a28cfb43ee0571cf707c9844f4b6b (patch)
treedbe372336ec2ccdb39bb3cbf33b679960f73de05 /lib/urldata.h
parent3c16697ebd796f799227be293e8689aec5f8190d (diff)
downloadcurl-1fdca35ddd9a28cfb43ee0571cf707c9844f4b6b.tar.gz
curl.h: add CURLOPT_CA_CACHE_TIMEOUT option
Adds a new option to control the maximum time that a cached certificate store may be retained for. Currently only the OpenSSL backend implements support for caching certificate stores. Closes #9620
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index bc8dfd623..1ae7aa4a5 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -313,6 +313,7 @@ struct ssl_config_data {
struct ssl_general_config {
size_t max_ssl_sessions; /* SSL session id cache size */
+ int ca_cache_timeout; /* Certificate store cache timeout (seconds) */
};
/* information stored about one single SSL session */