projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98528ea
)
core: Propagate credssp error code by setting last error
author
Martin Fleisz
<martin.fleisz@thincast.com>
Mon, 21 Mar 2016 09:23:18 +0000
(10:23 +0100)
committer
Martin Fleisz
<martin.fleisz@thincast.com>
Mon, 21 Mar 2016 09:23:18 +0000
(10:23 +0100)
libfreerdp/core/nla.c
patch
|
blob
|
history
diff --git
a/libfreerdp/core/nla.c
b/libfreerdp/core/nla.c
index
471f1dc
..
4a9ed61
100644
(file)
--- a/
libfreerdp/core/nla.c
+++ b/
libfreerdp/core/nla.c
@@
-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;