Home GnuPG
Diffusion GnuPG c46e8bfe9a1a

g10/packet.h: Remove unused argument from enum_sig_subpkt.
c46e8bfe9a1aUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

g10/packet.h: Remove unused argument from enum_sig_subpkt.

* g10/packet.h (enum_sig_subpkt): Remove argument RET_N.  Update
callers.
* g10/parse-packet.c (enum_sig_subpkt): Remove argument RET_N.

Remove the RET_N argument, because it is unused and because it is
meaningless: it's not clear whether it is an offset into SIG->HASHED
or SIG->UNHASHED.

  • Signed-off-by: Neal H. Walfield <neal@g10code.com>.

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Aug 19 2015, 11:45 AM
Parents
rGc271feb53664: g10/parse-packet.c:mpi_read: Detect EOF and correct boundary conditions.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rGc46e8bfe9a1a: g10/packet.h: Remove unused argument from enum_sig_subpkt. (authored by Neal H. Walfield <neal@g10code.com>).Aug 20 2015, 2:16 PM