secur32: Make some data const.
This commit is contained in:
parent
47ffd7ae95
commit
098e82d81e
|
@ -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 */
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue