]> granicus.if.org Git - curl/commitdiff
Avoid inclusion of ntsecapi.h and directly provide the KERB_WRAP_NO_ENCRYPT
authorYang Tse <yangsita@gmail.com>
Thu, 29 Jan 2009 14:00:18 +0000 (14:00 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 29 Jan 2009 14:00:18 +0000 (14:00 +0000)
definition to avoid a 'STRING' duplicate definition from OpenSSL's safestack.h

lib/socks_sspi.c

index c6810c734f95f913345b1b877b4bf64688d5c9db..3318794c6d385178183f38dee98701c7de9fe5e7 100644 (file)
@@ -25,7 +25,6 @@
 #include "setup.h"
 
 #ifdef USE_WINDOWS_SSPI
-#include <ntsecapi.h>
 
 #include <string.h>
 
 /* The last #include file should be: */
 #include "memdebug.h"
 
+/*
+ * Definitions required from ntsecapi.h are directly provided below this point
+ * to avoid including ntsecapi.h due to a conflict with OpenSSL's safestack.h
+ */
+#define KERB_WRAP_NO_ENCRYPT 0x80000001
+
 /*
  * Helper sspi error functions.
  */