aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/SSecurityTLS.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-10-09 16:54:38 +0200
committerPierre Ossman <ossman@cendio.se>2018-10-09 16:54:38 +0200
commit83eee75c263bc725b53a0d1de957292d2fbd367e (patch)
tree145ff9f046ab7c5e817d280de528b1fe48fda329 /common/rfb/SSecurityTLS.cxx
parent2b69d385e669bf97d872fd116c7f1da5aee7cdfd (diff)
downloadtigervnc-83eee75c263bc725b53a0d1de957292d2fbd367e.tar.gz
tigervnc-83eee75c263bc725b53a0d1de957292d2fbd367e.zip
Log TLS handshake result
Makes it easier to debug TLS issues, and to see the effect of altering the priority string.
Diffstat (limited to 'common/rfb/SSecurityTLS.cxx')
-rw-r--r--common/rfb/SSecurityTLS.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/rfb/SSecurityTLS.cxx b/common/rfb/SSecurityTLS.cxx
index 49532f52..d5ef47e6 100644
--- a/common/rfb/SSecurityTLS.cxx
+++ b/common/rfb/SSecurityTLS.cxx
@@ -163,7 +163,8 @@ bool SSecurityTLS::processMsg()
throw AuthFailureException("TLS Handshake failed");
}
- vlog.debug("Handshake completed");
+ vlog.debug("TLS handshake completed with %s",
+ gnutls_session_get_desc(session));
sc->setStreams(tlsis, tlsos);