Explorar el Código

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 hace 5 años
padre
commit
83eee75c26
Se han modificado 2 ficheros con 5 adiciones y 1 borrados
  1. 3
    0
      common/rfb/CSecurityTLS.cxx
  2. 2
    1
      common/rfb/SSecurityTLS.cxx

+ 3
- 0
common/rfb/CSecurityTLS.cxx Ver fichero

@@ -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 Ver fichero

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


Cargando…
Cancelar
Guardar