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

throw AuthFailureException("TLS Handshake failed"); throw AuthFailureException("TLS Handshake failed");
} }


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

checkSession(); checkSession();


cc->setStreams(tlsis, tlsos); cc->setStreams(tlsis, tlsos);

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

throw AuthFailureException("TLS Handshake failed"); 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); sc->setStreams(tlsis, tlsos);



Loading…
Cancel
Save