summaryrefslogtreecommitdiffstats
path: root/common/trans.h
diff options
context:
space:
mode:
authorIdan Freiberg <speidy@gmail.com>2017-01-16 07:26:51 +0200
committerGitHub <noreply@github.com>2017-01-16 07:26:51 +0200
commit19375dda7a12e955f053f32ea6a1d206a773010d (patch)
treefb7884710abaea8d0cc1463fbac3ec064e9ab376 /common/trans.h
parent5fa636be89b11e038997a4177f411a819f1fc157 (diff)
parentf29a98b2439ac391fc93b7b3aaced4dd2159bae2 (diff)
downloadxrdp-proprietary-19375dda7a12e955f053f32ea6a1d206a773010d.tar.gz
xrdp-proprietary-19375dda7a12e955f053f32ea6a1d206a773010d.zip
Merge pull request #426 from metalefty/log-tls-version-and-cipher
TLS: log TLS version and cipher
Diffstat (limited to 'common/trans.h')
-rw-r--r--common/trans.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/trans.h b/common/trans.h
index 53f3203a..26d93dc2 100644
--- a/common/trans.h
+++ b/common/trans.h
@@ -79,6 +79,8 @@ struct trans
int no_stream_init_on_data_in;
int extra_flags; /* user defined */
struct ssl_tls *tls;
+ const char *ssl_protocol; /* e.g. TLSv1, TLSv1.1, TLSv1.2, unknown */
+ const char *cipher_name; /* e.g. AES256-GCM-SHA384 */
trans_recv_proc trans_recv;
trans_send_proc trans_send;
trans_can_recv_proc trans_can_recv;