2002-11-21 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Thu, 21 Nov 2002 11:22:50 +0000 (11:22 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Thu, 21 Nov 2002 11:22:50 +0000 (11:22 +0000)
* verify.c (_gpgme_verify_status_handler): Treat
GPGME_STATUS_UNEXPECTED like GPGME_STATUS_NODATA.
Reported by Miguel Coca <e970095@zipi.fi.upm.es>.

branches/gpgme-0-3-branch/gpgme/ChangeLog
branches/gpgme-0-3-branch/gpgme/verify.c

index f37c566b7d01dc419656cbb1666edc994cad0d74..78ac092ca2b772835c24dd94160f73712e7e993d 100644 (file)
@@ -1,3 +1,9 @@
+2002-11-21  Marcus Brinkmann  <marcus@g10code.de>
+
+       * verify.c (_gpgme_verify_status_handler): Treat
+       GPGME_STATUS_UNEXPECTED like GPGME_STATUS_NODATA.
+       Reported by Miguel Coca <e970095@zipi.fi.upm.es>.
+
 2002-11-19  Marcus Brinkmann  <marcus@g10code.de>
 
        * rungpg.c (gpg_keylist): Add --with-fingerprint to gpg invocation
index a15a6343ddf16ee9cb76a14a3d0146df53088974..0206fe5f58d41c8f840ff08a26a35ee43cd74cf6 100644 (file)
@@ -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;