diff options
| author | Koichiro IWAO <meta@vmeta.jp> | 2016-09-09 15:42:04 +0900 |
|---|---|---|
| committer | Koichiro IWAO <meta@vmeta.jp> | 2016-11-22 10:50:30 +0900 |
| commit | 40e8194122ea914be0679b8c21f2d4aa30b47b96 (patch) | |
| tree | 0184c9e2d4544ad93ddda9bcd26c928ed716cca9 /common/trans.c | |
| parent | a59645d3c5bb143764bab538fa83a8483a2157d8 (diff) | |
| download | xrdp-proprietary-40e8194122ea914be0679b8c21f2d4aa30b47b96.tar.gz xrdp-proprietary-40e8194122ea914be0679b8c21f2d4aa30b47b96.zip | |
TLS: log TLS version and cipher
Diffstat (limited to 'common/trans.c')
| -rw-r--r-- | common/trans.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/trans.c b/common/trans.c index 432b6334..4beaa56e 100644 --- a/common/trans.c +++ b/common/trans.c @@ -902,6 +902,9 @@ trans_set_tls_mode(struct trans *self, const char *key, const char *cert, self->trans_send = trans_tls_send; self->trans_can_recv = trans_tls_can_recv; + self->ssl_protocol = ssl_get_version(self->tls->ssl); + self->cipher_name = ssl_get_cipher_name(self->tls->ssl); + return 0; } |
