diff options
author | Werner Koch <[email protected]> | 2010-10-20 11:33:50 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2010-10-20 11:33:50 +0000 |
commit | cc99c375491c88e85190c25648419a8e627b08f6 (patch) | |
tree | 5cb3eda1226608f68e398a6a7f007f8381127dde /g10/pkclist.c | |
parent | Install the mo files on W32 platforms (diff) | |
download | gnupg-cc99c375491c88e85190c25648419a8e627b08f6.tar.gz gnupg-cc99c375491c88e85190c25648419a8e627b08f6.zip |
Make public key data structure easier to read.
Check vor v1 card while signing.
Diffstat (limited to 'g10/pkclist.c')
-rw-r--r-- | g10/pkclist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/g10/pkclist.c b/g10/pkclist.c index f76c18648..da33159db 100644 --- a/g10/pkclist.c +++ b/g10/pkclist.c @@ -527,7 +527,7 @@ check_signatures_trust( PKT_signature *sig ) goto leave; } - if(pk->maybe_revoked && !pk->is_revoked) + if(pk->flags.maybe_revoked && !pk->flags.revoked) log_info(_("WARNING: this key might be revoked (revocation key" " not present)\n")); @@ -536,7 +536,7 @@ check_signatures_trust( PKT_signature *sig ) if ( (trustlevel & TRUST_FLAG_REVOKED) ) { write_status( STATUS_KEYREVOKED ); - if(pk->is_revoked==2) + if(pk->flags.revoked == 2) log_info(_("WARNING: This key has been revoked by its" " designated revoker!\n")); else @@ -1491,7 +1491,7 @@ select_mdc_from_pklist (PK_LIST pk_list) if (pkr->pk->user_id) /* selected by user ID */ mdc = pkr->pk->user_id->flags.mdc; else - mdc = pkr->pk->mdc_feature; + mdc = pkr->pk->flags.mdc; if (!mdc) return 0; /* At least one recipient does not support it. */ } @@ -1512,7 +1512,7 @@ warn_missing_mdc_from_pklist (PK_LIST pk_list) if (pkr->pk->user_id) /* selected by user ID */ mdc = pkr->pk->user_id->flags.mdc; else - mdc = pkr->pk->mdc_feature; + mdc = pkr->pk->flags.mdc; if (!mdc) log_info (_("Note: key %s has no %s feature\n"), keystr_from_pk (pkr->pk), "MDC"); |