aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/schannel.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-05-04 12:10:39 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-05-04 22:31:19 +0200
commite66cca046cef20d00fba89260dfa6b4a3997233d (patch)
tree7bc1d35fa61b022ea481a7e891bcfa5c78b2fe48 /lib/vtls/schannel.c
parentf8d608f38d00a129680f5535ed2f1e60fc226d30 (diff)
vtls: use unified "supports" bitfield member in backends
... instead of previous separate struct fields, to make it easier to extend and change individual backends without having to modify them all. closes #2547
Diffstat (limited to 'lib/vtls/schannel.c')
-rw-r--r--lib/vtls/schannel.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c
index 01f6f6691..548f4e316 100644
--- a/lib/vtls/schannel.c
+++ b/lib/vtls/schannel.c
@@ -1923,11 +1923,8 @@ static void *Curl_schannel_get_internals(struct ssl_connect_data *connssl,
const struct Curl_ssl Curl_ssl_schannel = {
{ CURLSSLBACKEND_SCHANNEL, "schannel" }, /* info */
- 0, /* have_ca_path */
- 1, /* have_certinfo */
- 1, /* have_pinnedpubkey */
- 0, /* have_ssl_ctx */
- 0, /* support_https_proxy */
+ SSLSUPP_CERTINFO |
+ SSLSUPP_PINNEDPUBKEY
sizeof(struct ssl_backend_data),