[Pkg-gnupg-commit] [gnupg2] 73/205: gpg: Prettify a 2 octet hex output.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed May 11 08:38:19 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gnupg2.

commit 2de0d41219a522e01f050d475b3ddecb9173fc7d
Author: Werner Koch <wk at gnupg.org>
Date:   Fri Feb 26 11:41:18 2016 +0100

    gpg: Prettify a 2 octet hex output.
    
    * g10/sig-check.c (check_key_signature2): Wrap line and use %02x.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>
---
 g10/sig-check.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/g10/sig-check.c b/g10/sig-check.c
index 087222a..ee0ebcb 100644
--- a/g10/sig-check.c
+++ b/g10/sig-check.c
@@ -1087,7 +1087,8 @@ check_key_signature2 (kbnode_t root, kbnode_t node, PKT_public_key *check_pk,
       }
   else
     {
-      log_info ("sig issued by %s with class %d (digest: %x %x) is not valid over a user id or a key id, ignoring.\n",
+      log_info ("sig issued by %s with class %d (digest: %02x %02x)"
+                " is not valid over a user id or a key id, ignoring.\n",
                 keystr (sig->keyid), sig->sig_class,
                 sig->digest_start[0], sig->digest_start[1]);
       rc = gpg_error (GPG_ERR_BAD_SIGNATURE);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list