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:
a9ecd6a
)
Fix checking of krb in encrypt public key echo.
author
Mariusz Zaborski
<oshogbo@vexillium.org>
Mon, 9 Apr 2018 13:04:52 +0000
(15:04 +0200)
committer
Mariusz Zaborski
<oshogbo@vexillium.org>
Mon, 9 Apr 2018 13:09:38 +0000
(15:09 +0200)
In commit
0e1a073384ddd1382f6a0619177cf0b601ad973c
there was a mistake -
originally code said different then kerberos. Because of that NLA authentication
of server side didn't work for me.
libfreerdp/core/nla.c
patch
|
blob
|
history
diff --git
a/libfreerdp/core/nla.c
b/libfreerdp/core/nla.c
index
2c0f141
..
0f1eb1f
100644
(file)
--- a/
libfreerdp/core/nla.c
+++ b/
libfreerdp/core/nla.c
@@
-1090,7
+1090,7
@@
SECURITY_STATUS nla_encrypt_public_key_echo(rdpNla* nla)
CopyMemory(Buffers[1].pvBuffer, nla->PublicKey.pvBuffer, Buffers[1].cbBuffer);
}
- if (krb && nla->server)
+ if (
!
krb && nla->server)
{
/* server echos the public key +1 */
ap_integer_increment_le((BYTE*) Buffers[1].pvBuffer, Buffers[1].cbBuffer);