Fix setting of negotiated security protocol.
authorMariusz Zaborski <oshogbo@vexillium.org>
Mon, 9 Apr 2018 15:13:22 +0000 (17:13 +0200)
committerMariusz Zaborski <oshogbo@vexillium.org>
Mon, 9 Apr 2018 15:14:37 +0000 (17:14 +0200)
commit480abdde91adf9b3fc066d4a67ee2a51b2a9b5f4
treea8aedf4ddec52c1e369bff118554301a111e0160
parenta9ecd6a6ccc71130805a6bf3214c169fc42746ba
Fix setting of negotiated security protocol.

PROTOCOL_RDP is equals 0 so if we and it with anything is still 0.
Correct way of doing it is to compare two values.
libfreerdp/core/peer.c