summaryrefslogtreecommitdiffstats
path: root/libxrdp/xrdp_rdp.c
diff options
context:
space:
mode:
authordaixj <daixj@shterm.com>2018-10-25 10:34:00 +0800
committerdaixj <daixj@shterm.com>2018-10-25 10:34:00 +0800
commitb3a188920087bbc0293ee4e61bf8eb8e03a1c752 (patch)
tree3975d0f73e48d16ac279a2ed1684025a4ab34444 /libxrdp/xrdp_rdp.c
parentc2ade7a1f7318527bd8cb5aedc4ed127c5546c94 (diff)
downloadxrdp-proprietary-b3a188920087bbc0293ee4e61bf8eb8e03a1c752.tar.gz
xrdp-proprietary-b3a188920087bbc0293ee4e61bf8eb8e03a1c752.zip
Support Cache Glyph Revison 2, issue #367
Diffstat (limited to 'libxrdp/xrdp_rdp.c')
-rw-r--r--libxrdp/xrdp_rdp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libxrdp/xrdp_rdp.c b/libxrdp/xrdp_rdp.c
index 494d23e8..928c1610 100644
--- a/libxrdp/xrdp_rdp.c
+++ b/libxrdp/xrdp_rdp.c
@@ -269,12 +269,16 @@ xrdp_rdp_read_config(struct xrdp_client_info *client_info)
g_strncpy(client_info->key_file, value, 1023);
}
- if (!g_file_readable(client_info->key_file))
+ if (!g_file_readable(client_info->key_file))
{
log_message(LOG_LEVEL_ERROR, "Cannot read private key file %s: %s",
client_info->key_file, g_get_strerror());
}
}
+ else if (g_strcasecmp(item, "use_cache_glyph_v2") == 0)
+ {
+ client_info->use_cache_glyph_v2 = g_text2bool(value);
+ }
}