summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
Diffstat (limited to 'xrdp')
-rw-r--r--xrdp/xrdp.ini10
-rw-r--r--xrdp/xrdp_process.c1
2 files changed, 8 insertions, 3 deletions
diff --git a/xrdp/xrdp.ini b/xrdp/xrdp.ini
index 5b86d4c2..52a6c7d9 100644
--- a/xrdp/xrdp.ini
+++ b/xrdp/xrdp.ini
@@ -5,11 +5,17 @@ ini_version=1
bitmap_cache=yes
bitmap_compression=yes
port=3389
-crypt_level=high
-security_layer=rdp
allow_channels=true
max_bpp=32
fork=yes
+crypt_level=high
+# security layer can be 'tls', 'rdp' or 'negotiate'
+# for client compatible layer
+security_layer=rdp
+# X.509 certificate and private key
+# openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem -days 365
+certificate=
+key_file=
# regulate if the listening socket use socket option tcp_nodelay
# no buffering will be performed in the TCP stack
diff --git a/xrdp/xrdp_process.c b/xrdp/xrdp_process.c
index b9cac32b..5a7cd1d8 100644
--- a/xrdp/xrdp_process.c
+++ b/xrdp/xrdp_process.c
@@ -171,7 +171,6 @@ xrdp_process_data_in(struct trans *self)
pro->server_trans->extra_flags = 1;
break;
}
-
return 0;
}