diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-06-24 00:25:29 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-08-28 14:56:58 +0200 |
commit | a53bda35e9a2acf4f2432b2d1b2d44497d68971e (patch) | |
tree | 93fb111b973643d02f1cdc7236b4618662194c85 /lib/vtls/vtls.h | |
parent | a243ce7ab289f0e7bb8a6b90b40fcf8fa62428bf (diff) | |
download | curl-a53bda35e9a2acf4f2432b2d1b2d44497d68971e.tar.gz |
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.h | 3 |
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 |