* build-packet.c (write_header2): If a suggested header length is provided
authorDavid Shaw <dshaw@jabberwocky.com>
Sun, 15 Feb 2004 00:04:32 +0000 (00:04 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Sun, 15 Feb 2004 00:04:32 +0000 (00:04 +0000)
commit95d05215c380895448fd900c1952fbadb4649bec
treef6aa66ee5deaa2aac60bdb6b2f6bb872ba770e99
parentc9aa5000d70b9d2bae7903074c8f10b75815e01d
* build-packet.c (write_header2): If a suggested header length is provided
along with a zero length, interpret this as an actual zero length packet
and not as an indeterminate length packet. (do_comment, do_user_id): Use
it here as these packets might be naturally zero length.

* parse-packet.c (parse): Show packet type when failing due to an
indeterminate length packet.

* misc.c (parse_options): Only provide args for the true (i.e. not
"no-xxx") form of options.
g10/ChangeLog
g10/build-packet.c
g10/misc.c
g10/parse-packet.c