]> granicus.if.org Git - curl/commitdiff
schannel_verify: fix build for non-schannel
authorDaniel Stenberg <daniel@haxx.se>
Wed, 16 May 2018 08:12:13 +0000 (10:12 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 16 May 2018 08:12:57 +0000 (10:12 +0200)
lib/vtls/schannel_verify.c

index 552b1afe9fc697dcacdf5b8950810846f8cbb74c..26f3ae48843e08910f3664511aaa7fa99a7cf645 100644 (file)
 
 #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"