aboutsummaryrefslogtreecommitdiffstats
path: root/g10/parse-packet.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2000-10-06 12:28:44 +0000
committerWerner Koch <[email protected]>2000-10-06 12:28:44 +0000
commit14974bc5d70604577b7088a39e7eb175cafd418a (patch)
treeae5aa26daa1342b77a7ceb0f0295950dff3b3557 /g10/parse-packet.c
parentSee ChangeLog: Wed Oct 4 13:16:18 CEST 2000 Werner Koch (diff)
downloadgnupg-14974bc5d70604577b7088a39e7eb175cafd418a.tar.gz
gnupg-14974bc5d70604577b7088a39e7eb175cafd418a.zip
See ChangeLog: Fri Oct 6 14:29:16 CEST 2000 Werner Koch
Diffstat (limited to 'g10/parse-packet.c')
-rw-r--r--g10/parse-packet.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/g10/parse-packet.c b/g10/parse-packet.c
index 3cabe77b1..b22a59989 100644
--- a/g10/parse-packet.c
+++ b/g10/parse-packet.c
@@ -127,23 +127,25 @@ unknown_pubkey_warning( int algo )
*/
#ifdef DEBUG_PARSE_PACKET
int
-dbg_parse_packet( IOBUF inp, PACKET *pkt, const char *dbg_f, int dbg_l )
+dbg_parse_packet( IOBUF inp, PACKET *pkt, ulong *retpos,
+ const char *dbg_f, int dbg_l )
{
int skip, rc;
do {
- rc = parse( inp, pkt, 0, NULL, &skip, NULL, 0, "parse", dbg_f, dbg_l );
+ rc = parse( inp, pkt, 0, retpos,
+ &skip, NULL, 0, "parse", dbg_f, dbg_l );
} while( skip );
return rc;
}
#else
int
-parse_packet( IOBUF inp, PACKET *pkt )
+parse_packet( IOBUF inp, PACKET *pkt, ulong *retpos )
{
int skip, rc;
do {
- rc = parse( inp, pkt, 0, NULL, &skip, NULL, 0 );
+ rc = parse( inp, pkt, 0, retpos, &skip, NULL, 0 );
} while( skip );
return rc;
}