From: Marcus Brinkmann Date: Sun, 18 May 2003 22:54:19 +0000 (+0000) Subject: 2003-05-19 Marcus Brinkmann X-Git-Tag: gpgme-0-4-1~33 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c341e295906ba43ca94b2251d4cce11ec377f088;p=gpgme.git 2003-05-19 Marcus Brinkmann * verify.c (parse_new_sig): Fix ERRSIG case. Submitted by Benjamin Lee . --- diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 3a27e8a..623cf20 100644 --- a/gpgme/ChangeLog +++ b/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/gpgme/verify.c b/gpgme/verify.c index abd49d8..460a051 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])