diff options
author | Neal H. Walfield <[email protected]> | 2015-08-19 09:45:24 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-08-20 12:16:29 +0000 |
commit | c46e8bfe9a1ae3f1e5327d0451cffd6e4567b449 (patch) | |
tree | 3ce38e1ccac97ec4467a221dcaa7e1262276adf6 /g10/packet.h | |
parent | g10/parse-packet.c:mpi_read: Detect EOF and correct boundary conditions. (diff) | |
download | gnupg-c46e8bfe9a1ae3f1e5327d0451cffd6e4567b449.tar.gz gnupg-c46e8bfe9a1ae3f1e5327d0451cffd6e4567b449.zip |
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 <[email protected]>.
Diffstat (limited to 'g10/packet.h')
-rw-r--r-- | g10/packet.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/g10/packet.h b/g10/packet.h index 523178b5f..0563bb14c 100644 --- a/g10/packet.h +++ b/g10/packet.h @@ -457,8 +457,7 @@ const byte *parse_sig_subpkt ( const subpktarea_t *buffer, sigsubpkttype_t reqtype, size_t *ret_n ); const byte *parse_sig_subpkt2 ( PKT_signature *sig, - sigsubpkttype_t reqtype, - size_t *ret_n ); + sigsubpkttype_t reqtype); int parse_one_sig_subpkt( const byte *buffer, size_t n, int type ); void parse_revkeys(PKT_signature *sig); int parse_attribute_subpkts(PKT_user_id *uid); |