mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-01 16:33:02 +01:00
Print the decoded iteration count witn --list-packets.
Fixes bug#1355.
This commit is contained in:
parent
6daa9dbd7c
commit
4fb59b1313
@ -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-04-05 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* photoid.c (generate_photo_id): Check for the JPEG magic numbers
|
||||
|
@ -1831,7 +1831,9 @@ 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",
|
||||
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 ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user