summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-09-21 23:30:48 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-09-22 12:09:13 +0200
commitb8e0fe19ec3bd3b673a14043a4b5e656d9c26d06 (patch)
tree3b39a3325b56db905891fd624753484c802a18c0 /include
parentee56fdb6910f6bf215eecede9e2e9bfc83cb5f29 (diff)
downloadcurl-b8e0fe19ec3bd3b673a14043a4b5e656d9c26d06.tar.gz
vtls: provide curl_global_sslset() even in non-SSL builds
... it just returns error: Bug: https://github.com/curl/curl/commit/1328f69d53f2f2e937696ea954c480412b018451#commitcomment-24470367 Reported-by: Marcel Raad Closes #1906
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 8b153fef9..501e3d19b 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -2370,7 +2370,8 @@ typedef struct {
typedef enum {
CURLSSLSET_OK = 0,
CURLSSLSET_UNKNOWN_BACKEND,
- CURLSSLSET_TOO_LATE
+ CURLSSLSET_TOO_LATE,
+ CURLSSLSET_NO_BACKENDS /* libcurl was built without any SSL support */
} CURLsslset;
CURL_EXTERN CURLsslset curl_global_sslset(curl_sslbackend id, const char *name,