Pārlūkot izejas kodu

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 pirms 2 gadiem
vecāks
revīzija
a97e9b119e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      common/rfb/CSecurityTLS.cxx

+ 1
- 1
common/rfb/CSecurityTLS.cxx Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt