diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2022-10-12 12:12:08 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-11-08 10:06:12 +0100 |
commit | 1fdca35ddd9a28cfb43ee0571cf707c9844f4b6b (patch) | |
tree | dbe372336ec2ccdb39bb3cbf33b679960f73de05 /include | |
parent | 3c16697ebd796f799227be293e8689aec5f8190d (diff) | |
download | curl-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 'include')
-rw-r--r-- | include/curl/curl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index d25e19cc6..e435bf0b0 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -2157,6 +2157,9 @@ typedef enum { /* websockets options */ CURLOPT(CURLOPT_WS_OPTIONS, CURLOPTTYPE_LONG, 320), + /* CA cache timeout */ + CURLOPT(CURLOPT_CA_CACHE_TIMEOUT, CURLOPTTYPE_LONG, 321), + CURLOPT_LASTENTRY /* the last unused */ } CURLoption; |