1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the mingw-w64 runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 7 #include <_mingw_unicode.h> 8 9 #ifndef NTLMSP_NAME_A 10 #define NTLMSP_NAME_A "NTLM" 11 #define NTLMSP_NAME L"NTLM" 12 #endif 13 14 #ifndef MICROSOFT_KERBEROS_NAME_A 15 #define MICROSOFT_KERBEROS_NAME_A "Kerberos" 16 #define MICROSOFT_KERBEROS_NAME_W L"Kerberos" 17 #ifdef WIN32_CHICAGO 18 #define MICROSOFT_KERBEROS_NAME MICROSOFT_KERBEROS_NAME_A 19 #else 20 #define MICROSOFT_KERBEROS_NAME MICROSOFT_KERBEROS_NAME_W 21 #endif 22 #endif 23 24 #ifndef NEGOSSP_NAME 25 #define NEGOSSP_NAME_W L"Negotiate" 26 #define NEGOSSP_NAME_A "Negotiate" 27 28 #define NEGOSSP_NAME __MINGW_NAME_UAW(NEGOSSP_NAME) 29 #endif 30 31 #include <sspi.h> 32 33 #if defined(SECURITY_WIN32) || defined(SECURITY_KERNEL) 34 #include <secext.h> 35 #endif 36 37 #if ISSP_LEVEL==16 38 #include <issper16.h> 39 #endif 40