Avoid inclusion of ntsecapi.h and directly provide the KERB_WRAP_NO_ENCRYPT

definition to avoid a 'STRING' duplicate definition from OpenSSL's safestack.h
This commit is contained in:
Yang Tse 2009-01-29 14:00:18 +00:00
parent fec65fbff6
commit 996c8ca7c2
1 changed files with 6 additions and 1 deletions

View File

@ -25,7 +25,6 @@
#include "setup.h"
#ifdef USE_WINDOWS_SSPI
#include <ntsecapi.h>
#include <string.h>
@ -45,6 +44,12 @@
/* 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.
*/