reactos/dll/win32/msv1_0/ntlm/global.c
Andreas Maier 0901077f8c
[MSV1_0] Create stubs for SECPKG_USER_FUNCTION_TABLE
This commit fixes a bug as well: old code of SpUserModeInitialze returns
a pointer to a local variable (SECPKG_USER_FUNCTION_TABLE).
2021-12-25 02:10:33 +03:00

35 lines
1.2 KiB
C

/*
* PROJECT: Authentication Package DLL
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: NTLM globals definitions (header)
* COPYRIGHT: Copyright 2011 Samuel Serapión
* Copyright 2020 Andreas Maier <staubim@quantentunnel.de>
*/
#include "../precomp.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(ntlm);
/* globals */
PSECPKG_DLL_FUNCTIONS UsrFunctions = NULL;
SECPKG_USER_FUNCTION_TABLE NtlmUsrFn[1] =
{
{
.InstanceInit = SpInstanceInit,
.InitUserModeContext = UsrSpInitUserModeContext,
.MakeSignature = UsrSpMakeSignature,
.VerifySignature = UsrSpVerifySignature,
.SealMessage = UsrSpSealMessage,
.UnsealMessage = UsrSpUnsealMessage,
.GetContextToken = UsrSpGetContextToken,
.SpQueryContextAttributes = UsrSpQueryContextAttributes,
.CompleteAuthToken = UsrSpCompleteAuthToken,
.DeleteUserModeContext = UsrSpDeleteUserModeContext,
.FormatCredentials = UsrSpFormatCredentials,
.MarshallSupplementalCreds = UsrSpMarshallSupplementalCreds,
.ExportContext = UsrSpExportSecurityContext,
.ImportContext = UsrSpImportSecurityContext
}
};