Fixed invalid return value conversion

This commit is contained in:
Armin Novak 2021-06-21 12:26:21 +02:00 committed by akallabeth
parent c40ca6bc28
commit 6eab6391c7
1 changed files with 2 additions and 2 deletions

View File

@ -339,12 +339,12 @@ static BOOL nla_complete_auth(rdpNla* nla, PSecBufferDesc pOutputBufferDesc)
if (!nla || !nla->table)
{
WLog_ERR(TAG, "[%s] nla->table=%p->%p", __FUNCTION__, nla, nla ? nla->table : NULL);
return SEC_E_INVALID_PARAMETER;
return FALSE;
}
if (!nla->table->CompleteAuthToken)
{
WLog_ERR(TAG, "[%s] CompleteAuthToken=%p", __FUNCTION__, nla->table->CompleteAuthToken);
return ERROR_INTERNAL_ERROR;
return FALSE;
}
nla->status = nla->table->CompleteAuthToken(&nla->context, pOutputBufferDesc);