aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gpgme/ChangeLog5
-rw-r--r--gpgme/verify.c7
2 files changed, 11 insertions, 1 deletions
diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog
index 3a27e8a7..623cf203 100644
--- a/gpgme/ChangeLog
+++ b/gpgme/ChangeLog
@@ -1,3 +1,8 @@
+2003-05-19 Marcus Brinkmann <[email protected]>
+
+ * verify.c (parse_new_sig): Fix ERRSIG case.
+ Submitted by Benjamin Lee <[email protected]>.
+
2003-05-18 Marcus Brinkmann <[email protected]>
* gpgme.h: The following types are renamed. The old name is kept
diff --git a/gpgme/verify.c b/gpgme/verify.c
index abd49d86..460a051f 100644
--- a/gpgme/verify.c
+++ b/gpgme/verify.c
@@ -189,7 +189,12 @@ parse_new_sig (op_data_t opd, gpgme_status_code_t code, char *args)
/* The return code is the 6th argument, if it is 9, the
problem is a missing key. */
while (end && i < 4)
- end = strchr (end, ' ');
+ {
+ end = strchr (end, ' ');
+ if (end)
+ end++;
+ i++;
+ }
if (end && end[0] && (!end[1] || !end[1] == ' '))
{
switch (end[0])