diff options
author | Neal H. Walfield <[email protected]> | 2015-06-29 13:50:48 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-06-29 13:53:45 +0000 |
commit | 68c217f457a772984d0afbdd341f18de7c867505 (patch) | |
tree | 3e9418149ca148f93abaa7e30dfd95b31a53bc57 /g10/parse-packet.c | |
parent | agent: Add --verify to the PASSWD command. (diff) | |
download | gnupg-68c217f457a772984d0afbdd341f18de7c867505.tar.gz gnupg-68c217f457a772984d0afbdd341f18de7c867505.zip |
Improve the description of old packets with an indeterminate length.
* g10/parse-packet.c (parse): Make the description more accurate when
listing packets: old format packets don't support partial lengths,
only indeterminate lengths (RFC 4880, Section 4.2).
--
Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to 'g10/parse-packet.c')
-rw-r--r-- | g10/parse-packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/parse-packet.c b/g10/parse-packet.c index 3cac6f868..5116404f8 100644 --- a/g10/parse-packet.c +++ b/g10/parse-packet.c @@ -610,7 +610,7 @@ parse (IOBUF inp, PACKET * pkt, int onlykeypkts, off_t * retpos, if (list_mode) es_fprintf (listfp, "# off=%lu ctb=%02x tag=%d hlen=%d plen=%lu%s%s\n", (unsigned long)pos, ctb, pkttype, hdrlen, pktlen, - partial? " partial":"", + partial? (new_ctb ? " partial" : " indeterminate") :"", new_ctb? " new-ctb":""); pkt->pkttype = pkttype; |