mirror of https://github.com/FreeRDP/FreeRDP
Fixed invalid return value conversion
This commit is contained in:
parent
c40ca6bc28
commit
6eab6391c7
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue