Author: noodles
Date: 2003/09/30 16:58:04
Allow read_openpgp_stream to append to an existing list of packets rather
than only returning the new packets.
*
* Copyright 2002 Project Purple
*
*
* Copyright 2002 Project Purple
*
- * $Id: parsekey.c,v 1.10 2003/09/29 07:35:26 noodles Exp $
+ * $Id: parsekey.c,v 1.11 2003/09/30 16:58:04 noodles Exp $
bool inpacket = false;
assert(packets != NULL);
bool inpacket = false;
assert(packets != NULL);
+ curpacket = *packets;
+ while (curpacket->next != NULL) {
+ curpacket = curpacket->next;
+ }
while (!rc && !getchar_func(ctx, 1, &curchar)) {
if (!inpacket && (curchar & 0x80)) {
while (!rc && !getchar_func(ctx, 1, &curchar)) {
if (!inpacket && (curchar & 0x80)) {