core: Propagate credssp error code by setting last error
This commit is contained in:
parent
98528ea973
commit
34a7c1860d
@ -573,7 +573,10 @@ int nla_client_authenticate(rdpNla* nla)
|
||||
if (status < 0)
|
||||
{
|
||||
if (nla->errorCode)
|
||||
{
|
||||
WLog_ERR(TAG, "SPNEGO failed with NTSTATUS: %08X", nla->errorCode);
|
||||
freerdp_set_last_error(nla->instance->context, nla->errorCode);
|
||||
}
|
||||
|
||||
Stream_Free(s, TRUE);
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user