fix nla: don't use server version
authorBernhard Miklautz <bernhard.miklautz@thincast.com>
Wed, 14 Mar 2018 12:39:23 +0000 (13:39 +0100)
committerBernhard Miklautz <bernhard.miklautz@thincast.com>
Wed, 14 Mar 2018 13:04:56 +0000 (14:04 +0100)
commite7ae3f6babc881d893411a5ada9156abe8525b2f
treecdd2f7d2dc758fb61435e431767e701fdec81e75
parent8cd156afda519482a4724e68326fa4d0fcd653ac
fix nla: don't use server version

FreeRDP currently only supports CredSSP protocol version 3. However the
current implementation always sent back the version received by the
server indicating that this version was supported.
With recent windows updates applied the protocol changed and this approach
doesn't work anymore (see
https://msdn.microsoft.com/en-us/library/mt752485.aspx for protocol changes).

With this fix FreeRDP always sends version 3 as supported version.

Credit goes to @mfleisz.

Fixes #4449
libfreerdp/core/nla.c