Commit f21983cf authored by Kai Blin's avatar Kai Blin Committed by Alexandre Julliard

secur32: Add EncryptMessage and DecryptMessage stubs.

parent 6a74137d
...@@ -1065,6 +1065,34 @@ static SECURITY_STATUS SEC_ENTRY ntlm_FreeCredentialsHandle( ...@@ -1065,6 +1065,34 @@ static SECURITY_STATUS SEC_ENTRY ntlm_FreeCredentialsHandle(
return ret; return ret;
} }
/***********************************************************************
* EncryptMessage
*/
static SECURITY_STATUS SEC_ENTRY ntlm_EncryptMessage(PCtxtHandle phContext,
ULONG fQOP, PSecBufferDesc pMessage, ULONG MessageSeqNo)
{
TRACE("%p %ld %p %ld stub\n", phContext, fQOP, pMessage, MessageSeqNo);
if(!phContext)
return SEC_E_INVALID_HANDLE;
return SEC_E_UNSUPPORTED_FUNCTION;
}
/***********************************************************************
* DecryptMessage
*/
static SECURITY_STATUS SEC_ENTRY ntlm_DecryptMessage(PCtxtHandle phContext,
PSecBufferDesc pMessage, ULONG MessageSeqNo, PULONG pfQOP)
{
TRACE("%p %p %ld %p stub\n", phContext, pMessage, MessageSeqNo, pfQOP);
if(!phContext)
return SEC_E_INVALID_HANDLE;
return SEC_E_UNSUPPORTED_FUNCTION;
}
static SecurityFunctionTableA ntlmTableA = { static SecurityFunctionTableA ntlmTableA = {
1, 1,
NULL, /* EnumerateSecurityPackagesA */ NULL, /* EnumerateSecurityPackagesA */
...@@ -1091,8 +1119,8 @@ static SecurityFunctionTableA ntlmTableA = { ...@@ -1091,8 +1119,8 @@ static SecurityFunctionTableA ntlmTableA = {
NULL, /* AddCredentialsA */ NULL, /* AddCredentialsA */
NULL, /* Reserved8 */ NULL, /* Reserved8 */
NULL, /* QuerySecurityContextToken */ NULL, /* QuerySecurityContextToken */
NULL, /* EncryptMessage */ ntlm_EncryptMessage, /* EncryptMessage */
NULL, /* DecryptMessage */ ntlm_DecryptMessage, /* DecryptMessage */
NULL, /* SetContextAttributesA */ NULL, /* SetContextAttributesA */
}; };
...@@ -1122,8 +1150,8 @@ static SecurityFunctionTableW ntlmTableW = { ...@@ -1122,8 +1150,8 @@ static SecurityFunctionTableW ntlmTableW = {
NULL, /* AddCredentialsW */ NULL, /* AddCredentialsW */
NULL, /* Reserved8 */ NULL, /* Reserved8 */
NULL, /* QuerySecurityContextToken */ NULL, /* QuerySecurityContextToken */
NULL, /* EncryptMessage */ ntlm_EncryptMessage, /* EncryptMessage */
NULL, /* DecryptMessage */ ntlm_DecryptMessage, /* DecryptMessage */
NULL, /* SetContextAttributesW */ NULL, /* SetContextAttributesW */
}; };
......
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