Commit 04a3aa99 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

schannel: Fix the name of the SetContextAttributes field of SECPKG_FUNCTION_TABLE.

parent ecaeeb2c
...@@ -107,7 +107,7 @@ static SECPKG_FUNCTION_TABLE secPkgFunctionTable[2] = ...@@ -107,7 +107,7 @@ static SECPKG_FUNCTION_TABLE secPkgFunctionTable[2] =
NULL, /* SpQueryContextAttributes */ NULL, /* SpQueryContextAttributes */
NULL, /* SpAddCredentials */ NULL, /* SpAddCredentials */
NULL, /* SetExtendedInformation */ NULL, /* SetExtendedInformation */
NULL, /* SpSetContextAttributes */ NULL, /* SetContextAttributes */
NULL, /* SetCredentialsAttributes */ NULL, /* SetCredentialsAttributes */
}, { }, {
NULL, /* InitializePackage */ NULL, /* InitializePackage */
...@@ -137,7 +137,7 @@ static SECPKG_FUNCTION_TABLE secPkgFunctionTable[2] = ...@@ -137,7 +137,7 @@ static SECPKG_FUNCTION_TABLE secPkgFunctionTable[2] =
NULL, /* SpQueryContextAttributes */ NULL, /* SpQueryContextAttributes */
NULL, /* SpAddCredentials */ NULL, /* SpAddCredentials */
NULL, /* SetExtendedInformation */ NULL, /* SetExtendedInformation */
NULL, /* SpSetContextAttributes */ NULL, /* SetContextAttributes */
NULL, /* SetCredentialsAttributes */ NULL, /* SetCredentialsAttributes */
} }
}; };
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
/* Helper macros to find the size of SECPKG_FUNCTION_TABLE */ /* Helper macros to find the size of SECPKG_FUNCTION_TABLE */
#define SECPKG_FUNCTION_TABLE_SIZE_1 offsetof(SECPKG_FUNCTION_TABLE, \ #define SECPKG_FUNCTION_TABLE_SIZE_1 offsetof(SECPKG_FUNCTION_TABLE, \
SpSetContextAttributes) SetContextAttributes)
#define SECPKG_FUNCTION_TABLE_SIZE_2 offsetof(SECPKG_FUNCTION_TABLE, \ #define SECPKG_FUNCTION_TABLE_SIZE_2 offsetof(SECPKG_FUNCTION_TABLE, \
SetCredentialsAttributes) SetCredentialsAttributes)
#define SECPKG_FUNCTION_TABLE_SIZE_3 sizeof(SECPKG_FUNCTION_TABLE) #define SECPKG_FUNCTION_TABLE_SIZE_3 sizeof(SECPKG_FUNCTION_TABLE)
......
...@@ -368,6 +368,10 @@ typedef NTSTATUS (NTAPI SpExportSecurityContextFn)(LSA_SEC_HANDLE, ULONG, ...@@ -368,6 +368,10 @@ typedef NTSTATUS (NTAPI SpExportSecurityContextFn)(LSA_SEC_HANDLE, ULONG,
typedef NTSTATUS (NTAPI SpImportSecurityContextFn)(PSecBuffer, HANDLE, typedef NTSTATUS (NTAPI SpImportSecurityContextFn)(PSecBuffer, HANDLE,
PLSA_SEC_HANDLE); PLSA_SEC_HANDLE);
#ifdef WINE_NO_UNICODE_MACROS
#undef SetContextAttributes
#endif
/* dispatch tables of LSA-mode functions implemented by SSP/AP */ /* dispatch tables of LSA-mode functions implemented by SSP/AP */
typedef struct SECPKG_FUNCTION_TABLE { typedef struct SECPKG_FUNCTION_TABLE {
PLSA_AP_INITIALIZE_PACKAGE InitializePackage; PLSA_AP_INITIALIZE_PACKAGE InitializePackage;
...@@ -398,7 +402,7 @@ typedef struct SECPKG_FUNCTION_TABLE { ...@@ -398,7 +402,7 @@ typedef struct SECPKG_FUNCTION_TABLE {
SpAddCredentialsFn *SpAddCredentials; SpAddCredentialsFn *SpAddCredentials;
SpSetExtendedInformationFn *SetExtendedInformation; SpSetExtendedInformationFn *SetExtendedInformation;
/* Packages with version SECPKG_INTERFACE_VERSION end here */ /* Packages with version SECPKG_INTERFACE_VERSION end here */
SpSetContextAttributesFn *SpSetContextAttributes; SpSetContextAttributesFn *SetContextAttributes;
/* Packages with version SECPKG_INTERFACE_VERSION_2 end here */ /* Packages with version SECPKG_INTERFACE_VERSION_2 end here */
SpSetCredentialsAttributesFn *SetCredentialsAttributes; SpSetCredentialsAttributesFn *SetCredentialsAttributes;
/* Packages with version SECPKG_INTERFACE_VERSION_3 end here */ /* Packages with version SECPKG_INTERFACE_VERSION_3 end here */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment