summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2015-07-17 02:40:16 -0400
committerJay Satiro <raysatiro@yahoo.com>2015-07-17 02:40:16 -0400
commit172b2beba6b89b632c09be7a88645e3a0607cfe9 (patch)
tree96d0a159f3ce04f202fb20a939d5999fd3a3eca5 /include
parent606b29fe0d07144ff13c3a731eef299b72060f91 (diff)
downloadcurl-172b2beba6b89b632c09be7a88645e3a0607cfe9.tar.gz
SSL: Add an option to disable certificate revocation checks
New tool option --ssl-no-revoke. New value CURLSSLOPT_NO_REVOKE for CURLOPT_SSL_OPTIONS. Currently this option applies only to WinSSL where we have automatic certificate revocation checking by default. According to the ssl-compared chart there are other backends that have automatic checking (NSS, wolfSSL and DarwinSSL) so we could possibly accommodate them at some later point. Bug: https://github.com/bagder/curl/issues/264 Reported-by: zenden2k <zenden2k@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index eab2f6e99..64f926142 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -725,6 +725,10 @@ typedef enum {
servers, a user can this way allow the vulnerability back. */
#define CURLSSLOPT_ALLOW_BEAST (1<<0)
+/* - NO_REVOKE tells libcurl to disable certificate revocation checks for those
+ SSL backends where such behavior is present. */
+#define CURLSSLOPT_NO_REVOKE (1<<1)
+
#ifndef CURL_NO_OLDIES /* define this to test if your app builds with all
the obsolete stuff removed! */