Author: sserapion Date: Thu May 5 20:37:44 2011 New Revision: 51601
URL: http://svn.reactos.org/svn/reactos?rev=51601&view=rev Log: -define necesary constants -remove all references to non-existant SECPKG_INTERFACE_VERSIONs
Modified: branches/sspi-bringup/rostests/winetests/msi/source.c branches/sspi-bringup/rostests/winetests/rpcrt4/server.c branches/sspi-bringup/rostests/winetests/schannel/main.c
Modified: branches/sspi-bringup/rostests/winetests/msi/source.c URL: http://svn.reactos.org/svn/reactos/branches/sspi-bringup/rostests/winetests/... ============================================================================== --- branches/sspi-bringup/rostests/winetests/msi/source.c [iso-8859-1] (original) +++ branches/sspi-bringup/rostests/winetests/msi/source.c [iso-8859-1] Thu May 5 20:37:44 2011 @@ -27,6 +27,7 @@ #include <msidefs.h> #include <msi.h> #include <sddl.h> +#define SECURITY_WIN32 #include <secext.h>
#include "wine/test.h"
Modified: branches/sspi-bringup/rostests/winetests/rpcrt4/server.c URL: http://svn.reactos.org/svn/reactos/branches/sspi-bringup/rostests/winetests/... ============================================================================== --- branches/sspi-bringup/rostests/winetests/rpcrt4/server.c [iso-8859-1] (original) +++ branches/sspi-bringup/rostests/winetests/rpcrt4/server.c [iso-8859-1] Thu May 5 20:37:44 2011 @@ -19,6 +19,7 @@ */
#include <windows.h> +#define SECURITY_WIN32 #include <secext.h> #include <rpcdce.h> #include "wine/test.h"
Modified: branches/sspi-bringup/rostests/winetests/schannel/main.c URL: http://svn.reactos.org/svn/reactos/branches/sspi-bringup/rostests/winetests/... ============================================================================== --- branches/sspi-bringup/rostests/winetests/schannel/main.c [iso-8859-1] (original) +++ branches/sspi-bringup/rostests/winetests/schannel/main.c [iso-8859-1] Thu May 5 20:37:44 2011 @@ -34,16 +34,12 @@
/* Helper macros to find the size of SECPKG_FUNCTION_TABLE */ #define SECPKG_FUNCTION_TABLE_SIZE_1 FIELD_OFFSET(SECPKG_FUNCTION_TABLE, \ + SetExtendedInformation) +#define SECPKG_FUNCTION_TABLE_SIZE_2 FIELD_OFFSET(SECPKG_FUNCTION_TABLE, \ SetContextAttributes) -#define SECPKG_FUNCTION_TABLE_SIZE_2 FIELD_OFFSET(SECPKG_FUNCTION_TABLE, \ +#define SECPKG_FUNCTION_TABLE_SIZE_3 FIELD_OFFSET(SECPKG_FUNCTION_TABLE, \ SetCredentialsAttributes) -#define SECPKG_FUNCTION_TABLE_SIZE_3 FIELD_OFFSET(SECPKG_FUNCTION_TABLE, \ - ChangeAccountPassword) -#define SECPKG_FUNCTION_TABLE_SIZE_4 FIELD_OFFSET(SECPKG_FUNCTION_TABLE, \ - QueryMetaData) -#define SECPKG_FUNCTION_TABLE_SIZE_5 FIELD_OFFSET(SECPKG_FUNCTION_TABLE, \ - ValidateTargetInfo) -#define SECPKG_FUNCTION_TABLE_SIZE_6 sizeof(SECPKG_FUNCTION_TABLE) +#define SECPKG_FUNCTION_TABLE_SIZE_4 sizeof(SECPKG_FUNCTION_TABLE)
static NTSTATUS (NTAPI *pSpLsaModeInitialize)(ULONG, PULONG, PSECPKG_FUNCTION_TABLE*, PULONG); @@ -137,10 +133,6 @@ size = SECPKG_FUNCTION_TABLE_SIZE_3; else if (Version == SECPKG_INTERFACE_VERSION_4) size = SECPKG_FUNCTION_TABLE_SIZE_4; - else if (Version == SECPKG_INTERFACE_VERSION_5) - size = SECPKG_FUNCTION_TABLE_SIZE_5; - else if (Version == SECPKG_INTERFACE_VERSION_6) - size = SECPKG_FUNCTION_TABLE_SIZE_6; else { ok(FALSE, "Unknown package version 0x%x\n", Version); return NULL;