emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 5a7fb4f: Avoid error in TLS connections due to inco


From: Eli Zaretskii
Subject: [Emacs-diffs] master 5a7fb4f: Avoid error in TLS connections due to incorrect format
Date: Sat, 27 Jun 2015 08:02:25 +0000

branch: master
commit 5a7fb4f0cc5a21808ab6fa062050059ceac027e4
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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 <address@hidden>.  (Bug#20908)
---
 src/gnutls.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gnutls.c b/src/gnutls.c
index cab2404..864cac5 100644
--- a/src/gnutls.c
+++ b/src/gnutls.c
@@ -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);
         }
       else



reply via email to

[Prev in Thread] Current Thread [Next in Thread]