mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-23 10:29:58 +01:00
Print the decoded iteration count with --list-packets.
Fixes bug#1355.
This commit is contained in:
parent
5a4071a273
commit
3d99d3f5db
@ -1,3 +1,8 @@
|
||||
2011-07-22 Werner Koch <wk@g10code.com>
|
||||
|
||||
* parse-packet.c (parse_key): Print the decoded iteration count.
|
||||
Fixes bug#1355.
|
||||
|
||||
2011-07-01 Werner Koch <wk@g10code.com>
|
||||
|
||||
* keyid.c (pubkey_letter): Add letters e and E.
|
||||
|
@ -1899,8 +1899,10 @@ parse_key (IOBUF inp, int pkttype, unsigned long pktlen,
|
||||
sk->protect.s2k.count = iobuf_get(inp);
|
||||
pktlen--;
|
||||
if( list_mode )
|
||||
fprintf (listfp, "\tprotect count: %lu\n",
|
||||
(ulong)sk->protect.s2k.count);
|
||||
fprintf (listfp, "\tprotect count: %lu (%lu)\n",
|
||||
(ulong)S2K_DECODE_COUNT
|
||||
((ulong)sk->protect.s2k.count),
|
||||
(ulong)sk->protect.s2k.count);
|
||||
}
|
||||
else if( sk->protect.s2k.mode == 1002 ) {
|
||||
/* Read the serial number. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user