aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-06-23 12:57:32 +0000
committerWerner Koch <[email protected]>2014-06-23 12:57:32 +0000
commit8eab483a1c4817a2946624c7305f464089d1875e (patch)
treec6d2c10d5e29ba639ae05a8a762d055684f7ba62
parentRemove useless diagnostic in MDC verification. (diff)
downloadgnupg-8eab483a1c4817a2946624c7305f464089d1875e.tar.gz
gnupg-8eab483a1c4817a2946624c7305f464089d1875e.zip
Print hash algorithm in sig records
* g10/keylist.c (list_keyblock_colon): Print field 16. -- We have this info already in gnupg-2 and it is easy to add it to 1.4. Debian-bug-id: 672658 Patch written and tested by Daniel Leidert. See above.
-rw-r--r--g10/keylist.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/g10/keylist.c b/g10/keylist.c
index 6618a7fbe..27283087a 100644
--- a/g10/keylist.c
+++ b/g10/keylist.c
@@ -1370,19 +1370,15 @@ list_keyblock_colon( KBNODE keyblock, int secret, int fpr )
print_string( stdout, p, n, ':' );
xfree(p);
}
- printf(":%02x%c:", sig->sig_class,sig->flags.exportable?'x':'l');
+ printf(":%02x%c::", sig->sig_class,sig->flags.exportable?'x':'l');
if(opt.no_sig_cache && opt.check_sigs && fprokay)
{
- printf(":");
-
for (i=0; i < fplen ; i++ )
printf ("%02X", fparray[i] );
-
- printf(":");
}
- printf("\n");
+ printf(":::%d:\n", sig->digest_algo);
if(opt.show_subpackets)
print_subpackets_colon(sig);