Browse Source

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 years ago
parent
commit
a97e9b119e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      common/rfb/CSecurityTLS.cxx

+ 1
- 1
common/rfb/CSecurityTLS.cxx View File

@@ -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…
Cancel
Save