aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/vtls.h
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2017-06-24 00:25:29 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-08-28 14:56:58 +0200
commita53bda35e9a2acf4f2432b2d1b2d44497d68971e (patch)
tree93fb111b973643d02f1cdc7236b4618662194c85 /lib/vtls/vtls.h
parenta243ce7ab289f0e7bb8a6b90b40fcf8fa62428bf (diff)
vtls: fold the backend ID into the Curl_ssl structure
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'lib/vtls/vtls.h')
-rw-r--r--lib/vtls/vtls.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/vtls/vtls.h b/lib/vtls/vtls.h
index e993fb77c..7d2296952 100644
--- a/lib/vtls/vtls.h
+++ b/lib/vtls/vtls.h
@@ -28,6 +28,7 @@ struct ssl_connect_data;
struct Curl_ssl {
const char *name;
+ int id; /* one of the CURLSSLBACKEND_* constants */
unsigned have_ca_path:1; /* supports CAPATH */
unsigned have_certinfo:1; /* supports CURLOPT_CERTINFO */
@@ -242,8 +243,6 @@ bool Curl_ssl_false_start(void);
#define SSL_SHUTDOWN_TIMEOUT 10000 /* ms */
#else
-/* Set the API backend definition to none */
-#define CURL_SSL_BACKEND CURLSSLBACKEND_NONE
/* When SSL support is not present, just define away these function calls */
#define Curl_ssl_init() 1