浏览代码

Print GnuTLS certificate status as hex

It's a bit field so it's easier to decode in hex.
tags/v1.12.90
Pierre Ossman 2 年前
父节点
当前提交
a97e9b119e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      common/rfb/CSecurityTLS.cxx

+ 1
- 1
common/rfb/CSecurityTLS.cxx 查看文件

@@ -390,7 +390,7 @@ void CSecurityTLS::checkSession()

if ((status & (~allowed_errors)) != 0) {
/* No other errors are allowed */
vlog.debug("GNUTLS status of certificate verification: %u", status);
vlog.debug("GNUTLS status of certificate verification: 0x%x", status);
throw AuthFailureException("Invalid status of server certificate verification");
}


正在加载...
取消
保存