projects
/
onak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b0581f
)
cscvs to tla changeset 115
author
Jonathan McDowell
<noodles@earth.li>
Mon, 31 May 2004 23:48:10 +0000
(23:48 +0000)
committer
Jonathan McDowell
<noodles@earth.li>
Mon, 31 May 2004 23:48:10 +0000
(23:48 +0000)
Author: noodles
Date: 2004/01/04 18:47:35
Stop trying to parse a key if we get an unexpected character.
parsekey.c
patch
|
blob
|
history
diff --git
a/parsekey.c
b/parsekey.c
index a498f4c0e606d15a6f1a636739a68a9de35bf2b6..5c6b3207801d48f583e05de44229d0377e2544d2 100644
(file)
--- a/
parsekey.c
+++ b/
parsekey.c
@@
-5,7
+5,7
@@
*
* Copyright 2002 Project Purple
*
- * $Id: parsekey.c,v 1.1
7 2003/10/11 21:52:18
noodles Exp $
+ * $Id: parsekey.c,v 1.1
8 2004/01/04 18:47:35
noodles Exp $
*/
#include <assert.h>
@@
-292,6
+292,7
@@
int read_openpgp_stream(int (*getchar_func)(void *ctx, size_t count,
} else {
logthing(LOGTHING_ERROR, "Unexpected character: 0x%X",
curchar);
+ rc = 1;
}
}