From 6eed29d947293d8568b0206ef1af1e284d175b7c Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sun, 18 May 2003 22:54:19 +0000 Subject: [PATCH] 2003-05-19 Marcus Brinkmann * verify.c (parse_new_sig): Fix ERRSIG case. Submitted by Benjamin Lee . --- trunk/gpgme/ChangeLog | 5 +++++ trunk/gpgme/verify.c | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 3a27e8a..623cf20 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2003-05-19 Marcus Brinkmann + + * verify.c (parse_new_sig): Fix ERRSIG case. + Submitted by Benjamin Lee . + 2003-05-18 Marcus Brinkmann * gpgme.h: The following types are renamed. The old name is kept diff --git a/trunk/gpgme/verify.c b/trunk/gpgme/verify.c index abd49d8..460a051 100644 --- a/trunk/gpgme/verify.c +++ b/trunk/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]) -- 2.26.2