aboutsummaryrefslogtreecommitdiff
path: root/include/curl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-08-26 23:13:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-08-26 23:13:25 +0000
commit27a2e590cd64cd6f31472681f0e61167b729e005 (patch)
treebb014f0d3cd310f5ce31461ce801f3e22c03de74 /include/curl
parent7172fa058a84cea26e31dd1c0bdc44889efc2949 (diff)
SSL_INSECURE support and usage added
Diffstat (limited to 'include/curl')
-rw-r--r--include/curl/curl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index c0299c6f3..46a52b1c5 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -197,6 +197,8 @@ typedef enum {
CURLE_SEND_ERROR, /* 55 - failed sending network data */
CURLE_RECV_ERROR, /* 56 - failure in receiving network data */
CURLE_SHARE_IN_USE, /* 57 - share is in use */
+ CURLE_SSL_INSECURE, /* 58 - connect attempt without certificate
+ but SSL_INSECURE not explicitly allowed */
CURL_LAST /* never use! */
} CURLcode;
@@ -571,6 +573,9 @@ typedef enum {
/* Provide a CURLShare for mutexing non-ts data */
CINIT(SHARE, OBJECTPOINT, 100),
+ /* Explicitly allow insecure SSL connects */
+ CINIT(SSL_INSECURE, LONG, 101),
+
CURLOPT_LASTENTRY /* the last unused */
} CURLoption;