From 8cc8f7267f1ea717761d2d31153f7f54a318b80f Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Thu, 21 Nov 2002 11:22:50 +0000 Subject: [PATCH] 2002-11-21 Marcus Brinkmann * verify.c (_gpgme_verify_status_handler): Treat GPGME_STATUS_UNEXPECTED like GPGME_STATUS_NODATA. Reported by Miguel Coca . --- gpgme/ChangeLog | 6 ++++++ gpgme/verify.c | 1 + 2 files changed, 7 insertions(+) diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index f37c566b..78ac092c 100644 --- a/gpgme/ChangeLog +++ b/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/gpgme/verify.c b/gpgme/verify.c index a15a6343..0206fe5f 100644 --- a/gpgme/verify.c +++ b/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;