From: Marcus Brinkmann Date: Fri, 21 May 2004 16:36:28 +0000 (+0000) Subject: 2004-05-21 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~431 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d37e43d6b6074776986a62911d3a23e006abd26e;p=gpgme.git 2004-05-21 Marcus Brinkmann * gpgme.h (gpgme_status_code_t): Add GPGME_STATUS_REVKEYSIG. * verify.c (_gpgme_verify_status_handler): Add handling of GPGME_STATUS_REVKEYSIG. (parse_trust): Likewise. --- diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index c67ded2..3be03a7 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,10 @@ +2004-05-21 Marcus Brinkmann + + * gpgme.h (gpgme_status_code_t): Add GPGME_STATUS_REVKEYSIG. + * verify.c (_gpgme_verify_status_handler): Add handling of + GPGME_STATUS_REVKEYSIG. + (parse_trust): Likewise. + 2004-05-21 Marcus Brinkmann * gpgme.h (struct _gpgme_decrypt_result): New fields diff --git a/trunk/gpgme/gpgme.h b/trunk/gpgme/gpgme.h index 34d836f..e0b5db2 100644 --- a/trunk/gpgme/gpgme.h +++ b/trunk/gpgme/gpgme.h @@ -399,7 +399,8 @@ typedef enum GPGME_STATUS_EXPKEYSIG, GPGME_STATUS_TRUNCATED, GPGME_STATUS_ERROR, - GPGME_STATUS_NEWSIG + GPGME_STATUS_NEWSIG, + GPGME_STATUS_REVKEYSIG } gpgme_status_code_t; diff --git a/trunk/gpgme/verify.c b/trunk/gpgme/verify.c index c695b9e..7ac5fe2 100644 --- a/trunk/gpgme/verify.c +++ b/trunk/gpgme/verify.c @@ -223,6 +223,10 @@ parse_new_sig (op_data_t opd, gpgme_status_code_t code, char *args) sig->status = gpg_error (GPG_ERR_BAD_SIGNATURE); break; + case GPGME_STATUS_REVKEYSIG: + sig->status = gpg_error (GPG_ERR_CERT_REVOKED); + break; + case GPGME_STATUS_ERRSIG: if (end) { @@ -531,6 +535,7 @@ _gpgme_verify_status_handler (void *priv, gpgme_status_code_t code, char *args) case GPGME_STATUS_EXPKEYSIG: case GPGME_STATUS_BADSIG: case GPGME_STATUS_ERRSIG: + case GPGME_STATUS_REVKEYSIG: if (sig && !opd->did_prepare_new_sig) calc_sig_summary (sig); opd->only_newsig_seen = 0;