Преглед на файлове

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 години
родител
ревизия
83eee75c26
променени са 2 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 3
    0
      common/rfb/CSecurityTLS.cxx
  2. 2
    1
      common/rfb/SSecurityTLS.cxx

+ 3
- 0
common/rfb/CSecurityTLS.cxx Целия файл

@@ -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 Целия файл

@@ -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…
Отказ
Запис