From: Marcus Brinkmann Date: Sun, 18 May 2003 22:54:19 +0000 (+0000) Subject: 2003-05-19 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~625 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6eed29d947293d8568b0206ef1af1e284d175b7c;p=gpgme.git 2003-05-19 Marcus Brinkmann * verify.c (parse_new_sig): Fix ERRSIG case. Submitted by Benjamin Lee . --- 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])