STABLE-BRANCH-1-2 gnupg/g10 (ChangeLog build-packet.c parse-packet.c)

cvs user dshaw cvs at cvs.gnupg.org
Sat Feb 14 18:30:46 CET 2004


    Date: Saturday, February 14, 2004 @ 18:30:46
  Author: dshaw
    Path: /cvs/gnupg/gnupg/g10
     Tag: STABLE-BRANCH-1-2

Modified: ChangeLog build-packet.c parse-packet.c

* 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.


----------------+
 ChangeLog      |   11 +++++++++++
 build-packet.c |   50 ++++++++++++++++++++++++++------------------------
 parse-packet.c |    8 ++++----
 3 files changed, 41 insertions(+), 28 deletions(-)



More information about the Gnupg-commits mailing list