Browse Source

Log TLS handshake result

Makes it easier to debug TLS issues, and to see the effect of
altering the priority string.
tags/v1.9.90
Pierre Ossman 5 years ago
parent
commit
83eee75c26
2 changed files with 5 additions and 1 deletions
  1. 3
    0
      common/rfb/CSecurityTLS.cxx
  2. 2
    1
      common/rfb/SSecurityTLS.cxx

+ 3
- 0
common/rfb/CSecurityTLS.cxx View File

@@ -196,6 +196,9 @@ bool CSecurityTLS::processMsg()
throw AuthFailureException("TLS Handshake failed");
}

vlog.debug("TLS handshake completed with %s",
gnutls_session_get_desc(session));

checkSession();

cc->setStreams(tlsis, tlsos);

+ 2
- 1
common/rfb/SSecurityTLS.cxx View File

@@ -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);


Loading…
Cancel
Save