From 542a472b2e5e4c48639085c6b543d6a30d00888f Mon Sep 17 00:00:00 2001 From: Anthony Tong Date: Sat, 18 Feb 2012 08:49:20 -0600 Subject: [PATCH] libfreerdp-core: disable fp input if FIPS is negotiated --- libfreerdp-core/security.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libfreerdp-core/security.c b/libfreerdp-core/security.c index 8df8a6548..c79b377d0 100644 --- a/libfreerdp-core/security.c +++ b/libfreerdp-core/security.c @@ -358,6 +358,9 @@ boolean security_establish_keys(uint8* client_random, rdpRdp* rdp) printf("FIPS Compliant encryption level.\n"); + /* disable fastpath input; it doesnt handle FIPS encryption yet */ + rdp->settings->fastpath_input = false; + sha1 = crypto_sha1_init(); crypto_sha1_update(sha1, client_random + 16, 16); crypto_sha1_update(sha1, server_random + 16, 16);