161 |
return _("Revoked"); |
return _("Revoked"); |
162 |
if (key->disabled) |
if (key->disabled) |
163 |
return _("Disabled"); |
return _("Disabled"); |
164 |
|
if (key->invalid) |
165 |
|
return _("Invalid"); |
166 |
return get_key_trust2 (NULL, key->uids->validity, 0, 0); |
return get_key_trust2 (NULL, key->uids->validity, 0, 0); |
167 |
} |
} |
168 |
|
|
193 |
static bool |
static bool |
194 |
check_for_desig_rev (gpgme_key_t key) |
check_for_desig_rev (gpgme_key_t key) |
195 |
{ |
{ |
196 |
winpt_key_s kk; |
winpt_key_s k; |
197 |
|
|
198 |
memset (&kk, 0, sizeof (kk)); |
memset (&k, 0, sizeof (k)); |
199 |
if (!winpt_get_pubkey (key->subkeys->keyid, &kk)) |
if (!winpt_get_pubkey (key->subkeys->keyid, &k)) |
200 |
return kk.ext->gloflags.has_desig_rev? true : false; |
return k.ext->gloflags.has_desig_rev? true : false; |
201 |
return false; |
return false; |
202 |
} |
} |
203 |
|
|