diff options
| author | Jay Sorg <jay.sorg@gmail.com> | 2014-02-20 00:41:53 -0800 |
|---|---|---|
| committer | Jay Sorg <jay.sorg@gmail.com> | 2014-02-20 00:41:53 -0800 |
| commit | b81bd005bf52dabf3ca054050a9be9a40929a8f3 (patch) | |
| tree | 596bb27ee1ff32237b33e8322c356f2cd6d00620 /libxrdp/xrdp_rdp.c | |
| parent | c11afcd67292f7e394e6adc77d89770a6662212f (diff) | |
| download | xrdp-proprietary-b81bd005bf52dabf3ca054050a9be9a40929a8f3.tar.gz xrdp-proprietary-b81bd005bf52dabf3ca054050a9be9a40929a8f3.zip | |
libxrdp: started adding FIPS crypt
Diffstat (limited to 'libxrdp/xrdp_rdp.c')
| -rw-r--r-- | libxrdp/xrdp_rdp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libxrdp/xrdp_rdp.c b/libxrdp/xrdp_rdp.c index 4cc2727f..1bf0c8f7 100644 --- a/libxrdp/xrdp_rdp.c +++ b/libxrdp/xrdp_rdp.c @@ -1,7 +1,7 @@ /** * xrdp: A Remote Desktop Protocol server. * - * Copyright (C) Jay Sorg 2004-2013 + * Copyright (C) Jay Sorg 2004-2014 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -80,6 +80,10 @@ xrdp_rdp_read_config(struct xrdp_client_info *client_info) { client_info->crypt_level = 3; } + else if (g_strcasecmp(value, "fips") == 0) + { + client_info->crypt_level = 4; + } else { log_message(LOG_LEVEL_ALWAYS,"Warning: Your configured crypt level is" @@ -628,6 +632,7 @@ xrdp_rdp_parse_client_mcs_data_CS_CORE(struct xrdp_rdp* self, struct stream* s) } /*****************************************************************************/ +/* TODO: move xrdp_sec.c::xrdp_sec_in_mcs_data here */ static int APP_CC xrdp_rdp_parse_client_mcs_data(struct xrdp_rdp* self) { |
