Fix tpkt header length checks for encrypted packets
authorArmin Novak <armin.novak@gmail.com>
Mon, 9 Mar 2020 20:54:34 +0000 (21:54 +0100)
committerakallabeth <akallabeth@users.noreply.github.com>
Tue, 10 Mar 2020 11:20:50 +0000 (12:20 +0100)
commitc7187928e9373d68476e6e7989336956c5dfa30d
tree9f4bacc788eee50733893b4ca73e8085032b4c16
parentc5998791dffd6dbe9a4f3aba5f2526aca3abe120
Fix tpkt header length checks for encrypted packets

If securityFlag SEC_ENCRYPT is set, remove the encryption headers from
the TPKT header length on comparison.
libfreerdp/core/capabilities.c
libfreerdp/core/connection.c
libfreerdp/core/info.c
libfreerdp/core/license.c
libfreerdp/core/peer.c
libfreerdp/core/rdp.c
libfreerdp/core/rdp.h