projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cscvs to tla changeset 98
[onak.git]
/
parsekey.c
diff --git
a/parsekey.c
b/parsekey.c
index 4829e3e934efd73d1068b33991e95f0a59a515b8..9cdb90cc514d4e825d430b951ba4ea8a8ba3657d 100644
(file)
--- a/
parsekey.c
+++ b/
parsekey.c
@@
-5,7
+5,7
@@
*
* Copyright 2002 Project Purple
*
*
* Copyright 2002 Project Purple
*
- * $Id: parsekey.c,v 1.1
0 2003/09/29 07:35:26
noodles Exp $
+ * $Id: parsekey.c,v 1.1
2 2003/09/30 17:40:41
noodles Exp $
*/
#include <assert.h>
*/
#include <assert.h>
@@
-179,6
+179,12
@@
int read_openpgp_stream(int (*getchar_func)(void *ctx, size_t count,
bool inpacket = false;
assert(packets != NULL);
bool inpacket = false;
assert(packets != NULL);
+ curpacket = *packets;
+ if (curpacket != NULL) {
+ 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)) {