aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2022-03-24 14:06:05 +0100
committerPierre Ossman <ossman@cendio.se>2022-03-24 14:06:05 +0100
commita97e9b119e58dd2d59fa479b6c753c940d093e8f (patch)
tree52ab72966e702e3442e84144d9cb245104ca0e31 /common/rfb
parent5f46d552b98be7dc9c5669ed02bd02d304526b4e (diff)
downloadtigervnc-a97e9b119e58dd2d59fa479b6c753c940d093e8f.tar.gz
tigervnc-a97e9b119e58dd2d59fa479b6c753c940d093e8f.zip
Print GnuTLS certificate status as hex
It's a bit field so it's easier to decode in hex.
Diffstat (limited to 'common/rfb')
-rw-r--r--common/rfb/CSecurityTLS.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/CSecurityTLS.cxx b/common/rfb/CSecurityTLS.cxx
index 54d995b1..ca1c919b 100644
--- a/common/rfb/CSecurityTLS.cxx
+++ b/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");
}