mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02: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>
|
2011-07-01 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* keyid.c (pubkey_letter): Add letters e and E.
|
* 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);
|
sk->protect.s2k.count = iobuf_get(inp);
|
||||||
pktlen--;
|
pktlen--;
|
||||||
if( list_mode )
|
if( list_mode )
|
||||||
fprintf (listfp, "\tprotect count: %lu\n",
|
fprintf (listfp, "\tprotect count: %lu (%lu)\n",
|
||||||
(ulong)sk->protect.s2k.count);
|
(ulong)S2K_DECODE_COUNT
|
||||||
|
((ulong)sk->protect.s2k.count),
|
||||||
|
(ulong)sk->protect.s2k.count);
|
||||||
}
|
}
|
||||||
else if( sk->protect.s2k.mode == 1002 ) {
|
else if( sk->protect.s2k.mode == 1002 ) {
|
||||||
/* Read the serial number. */
|
/* Read the serial number. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user