From: Marcus Brinkmann Date: Thu, 21 Nov 2002 11:22:50 +0000 (+0000) Subject: 2002-11-21 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~762 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3dc4fa8b6d4abde219627e463e7806f1215cae2b;p=gpgme.git 2002-11-21 Marcus Brinkmann * verify.c (_gpgme_verify_status_handler): Treat GPGME_STATUS_UNEXPECTED like GPGME_STATUS_NODATA. Reported by Miguel Coca . --- diff --git a/branches/gpgme-0-3-branch/gpgme/ChangeLog b/branches/gpgme-0-3-branch/gpgme/ChangeLog index f37c566..78ac092 100644 --- a/branches/gpgme-0-3-branch/gpgme/ChangeLog +++ b/branches/gpgme-0-3-branch/gpgme/ChangeLog @@ -1,3 +1,9 @@ +2002-11-21 Marcus Brinkmann + + * verify.c (_gpgme_verify_status_handler): Treat + GPGME_STATUS_UNEXPECTED like GPGME_STATUS_NODATA. + Reported by Miguel Coca . + 2002-11-19 Marcus Brinkmann * rungpg.c (gpg_keylist): Add --with-fingerprint to gpg invocation diff --git a/branches/gpgme-0-3-branch/gpgme/verify.c b/branches/gpgme-0-3-branch/gpgme/verify.c index a15a634..0206fe5 100644 --- a/branches/gpgme-0-3-branch/gpgme/verify.c +++ b/branches/gpgme-0-3-branch/gpgme/verify.c @@ -225,6 +225,7 @@ _gpgme_verify_status_handler (GpgmeCtx ctx, GpgmeStatusCode code, char *args) switch (code) { case GPGME_STATUS_NODATA: + case GPGME_STATUS_UNEXPECTED: ctx->result.verify->status = GPGME_SIG_STAT_NOSIG; break;