aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-05-16 10:12:13 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-05-16 10:12:57 +0200
commitf0c466dceddc88a7f55125bed2333bda8091489f (patch)
treec68dfa7ac772589a0e931ca80032f7d65732a91b /lib/vtls
parent4f9bbd3ac78191134bdd02df1b95959eb43efeba (diff)
schannel_verify: fix build for non-schannel
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/schannel_verify.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/vtls/schannel_verify.c b/lib/vtls/schannel_verify.c
index 552b1afe9..26f3ae488 100644
--- a/lib/vtls/schannel_verify.c
+++ b/lib/vtls/schannel_verify.c
@@ -29,12 +29,11 @@
#include "curl_setup.h"
+#ifdef USE_SCHANNEL
#ifndef USE_WINDOWS_SSPI
# error "Can't compile SCHANNEL support without SSPI."
#endif
-#ifdef USE_SCHANNEL
-
#define EXPOSE_SCHANNEL_INTERNAL_STRUCTS
#include "schannel.h"