Explorar el Código

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 hace 2 años
padre
commit
a97e9b119e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      common/rfb/CSecurityTLS.cxx

+ 1
- 1
common/rfb/CSecurityTLS.cxx Ver fichero

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


Cargando…
Cancelar
Guardar