2004-05-21 Marcus Brinkmann <marcus@g10code.de>
* 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.
This commit is contained in:
parent
cf6910f69d
commit
b9d1269d0a
@ -1,3 +1,10 @@
|
|||||||
|
2004-05-21 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* 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 <marcus@g10code.de>
|
2004-05-21 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* gpgme.h (struct _gpgme_decrypt_result): New fields
|
* gpgme.h (struct _gpgme_decrypt_result): New fields
|
||||||
|
@ -399,7 +399,8 @@ typedef enum
|
|||||||
GPGME_STATUS_EXPKEYSIG,
|
GPGME_STATUS_EXPKEYSIG,
|
||||||
GPGME_STATUS_TRUNCATED,
|
GPGME_STATUS_TRUNCATED,
|
||||||
GPGME_STATUS_ERROR,
|
GPGME_STATUS_ERROR,
|
||||||
GPGME_STATUS_NEWSIG
|
GPGME_STATUS_NEWSIG,
|
||||||
|
GPGME_STATUS_REVKEYSIG
|
||||||
}
|
}
|
||||||
gpgme_status_code_t;
|
gpgme_status_code_t;
|
||||||
|
|
||||||
|
@ -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);
|
sig->status = gpg_error (GPG_ERR_BAD_SIGNATURE);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case GPGME_STATUS_REVKEYSIG:
|
||||||
|
sig->status = gpg_error (GPG_ERR_CERT_REVOKED);
|
||||||
|
break;
|
||||||
|
|
||||||
case GPGME_STATUS_ERRSIG:
|
case GPGME_STATUS_ERRSIG:
|
||||||
if (end)
|
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_EXPKEYSIG:
|
||||||
case GPGME_STATUS_BADSIG:
|
case GPGME_STATUS_BADSIG:
|
||||||
case GPGME_STATUS_ERRSIG:
|
case GPGME_STATUS_ERRSIG:
|
||||||
|
case GPGME_STATUS_REVKEYSIG:
|
||||||
if (sig && !opd->did_prepare_new_sig)
|
if (sig && !opd->did_prepare_new_sig)
|
||||||
calc_sig_summary (sig);
|
calc_sig_summary (sig);
|
||||||
opd->only_newsig_seen = 0;
|
opd->only_newsig_seen = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user