aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2003-05-18 22:54:19 +0000
committerMarcus Brinkmann <[email protected]>2003-05-18 22:54:19 +0000
commitc341e295906ba43ca94b2251d4cce11ec377f088 (patch)
treebfb48428ecfcba1541debf5ba08efc04e51e234f
parentBeautify source code. (diff)
downloadgpgme-c341e295906ba43ca94b2251d4cce11ec377f088.tar.gz
gpgme-c341e295906ba43ca94b2251d4cce11ec377f088.zip
2003-05-19 Marcus Brinkmann <[email protected]>
* verify.c (parse_new_sig): Fix ERRSIG case. Submitted by Benjamin Lee <[email protected]>.
Diffstat (limited to '')
-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])