libfreerdp-core: don't add sec_bytes in fastpath_send_input_pdu
authorMads Kiilerich <mads@kiilerich.com>
Mon, 20 Feb 2012 20:03:31 +0000 (21:03 +0100)
committerMads Kiilerich <mads@kiilerich.com>
Mon, 20 Feb 2012 20:03:31 +0000 (21:03 +0100)
commit165d39a290a109c0af16a1d223d1426cb524a844
tree0aa911912c4c55c475fc7004b975d7230168c72b
parent1500ab1cb06821a66b94edb3550ec4b8a0639940
libfreerdp-core: don't add sec_bytes in fastpath_send_input_pdu

fastpath_input_pdu_init already reserved space for fastpath_get_sec_bytes()
which thus already was included in stream_get_length() in
fastpath_send_input_pdu(). Adding sec_bytes again just added extra invalid (but
correctly hashed/encrypted) bytes to the PDU.
libfreerdp-core/fastpath.c