Преглед изворни кода

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");
}


Loading…
Откажи
Сачувај