secur32: Make some data const.

This commit is contained in:
Dmitry Timoshkov 2006-12-14 22:47:50 +08:00 committed by Alexandre Julliard
parent 47ffd7ae95
commit 098e82d81e
2 changed files with 4 additions and 4 deletions

View File

@ -1634,7 +1634,7 @@ static SECURITY_STATUS SEC_ENTRY ntlm_DecryptMessage(PCtxtHandle phContext,
return ret; return ret;
} }
static SecurityFunctionTableA ntlmTableA = { static const SecurityFunctionTableA ntlmTableA = {
1, 1,
NULL, /* EnumerateSecurityPackagesA */ NULL, /* EnumerateSecurityPackagesA */
ntlm_QueryCredentialsAttributesA, /* QueryCredentialsAttributesA */ ntlm_QueryCredentialsAttributesA, /* QueryCredentialsAttributesA */
@ -1665,7 +1665,7 @@ static SecurityFunctionTableA ntlmTableA = {
NULL, /* SetContextAttributesA */ NULL, /* SetContextAttributesA */
}; };
static SecurityFunctionTableW ntlmTableW = { static const SecurityFunctionTableW ntlmTableW = {
1, 1,
NULL, /* EnumerateSecurityPackagesW */ NULL, /* EnumerateSecurityPackagesW */
ntlm_QueryCredentialsAttributesW, /* QueryCredentialsAttributesW */ ntlm_QueryCredentialsAttributesW, /* QueryCredentialsAttributesW */

View File

@ -290,7 +290,7 @@ static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW(
return ret; return ret;
} }
static SecurityFunctionTableA schanTableA = { static const SecurityFunctionTableA schanTableA = {
1, 1,
NULL, /* EnumerateSecurityPackagesA */ NULL, /* EnumerateSecurityPackagesA */
schan_QueryCredentialsAttributesA, schan_QueryCredentialsAttributesA,
@ -321,7 +321,7 @@ static SecurityFunctionTableA schanTableA = {
NULL, /* SetContextAttributesA */ NULL, /* SetContextAttributesA */
}; };
static SecurityFunctionTableW schanTableW = { static const SecurityFunctionTableW schanTableW = {
1, 1,
NULL, /* EnumerateSecurityPackagesW */ NULL, /* EnumerateSecurityPackagesW */
schan_QueryCredentialsAttributesW, schan_QueryCredentialsAttributesW,