瀏覽代碼

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…
取消
儲存