Commit 5a7fb4f0 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Avoid error in TLS connections due to incorrect format

* src/gnutls.c (Fgnutls_boot): Use the %x conversion specifier in
the call to 'error', instead of the unsupported %u.  Reported by
lo2net <>.  (Bug#20908)
parent 45fd9360
......@@ -1512,7 +1512,7 @@ one trustfile (usually a CA bundle). */)
|| !NILP (Fmember (QCgnutls_bootprop_trustfiles, verify_error)))
emacs_gnutls_deinit (proc);
error ("Certificate validation failed %s, verification code %u",
error ("Certificate validation failed %s, verification code %x",
c_hostname, peer_verification);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment