summaryrefslogtreecommitdiffstats
path: root/g10/keyid.c
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2004-12-30 04:26:57 +0100
committerDavid Shaw <dshaw@jabberwocky.com>2004-12-30 04:26:57 +0100
commitb37facc5939cf7bd262c543aad9008d6147ea128 (patch)
tree97ea29413c3b845e803af5cf3f64dbc25d8d37e5 /g10/keyid.c
parentBetter implementation for the SRV check. We don't need to actually check (diff)
downloadgnupg2-b37facc5939cf7bd262c543aad9008d6147ea128.tar.xz
gnupg2-b37facc5939cf7bd262c543aad9008d6147ea128.zip
* packet.h, getkey.c (merge_selfsigs_main, sig_to_revoke_info), keyid.c
(revokestr_from_pk), keyedit.c (show_key_with_all_names): Show who revoked a key (either the same key or a designated revoker) and when.
Diffstat (limited to 'g10/keyid.c')
-rw-r--r--g10/keyid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/keyid.c b/g10/keyid.c
index 9c5138605..25d51e3b8 100644
--- a/g10/keyid.c
+++ b/g10/keyid.c
@@ -529,9 +529,9 @@ revokestr_from_pk( PKT_public_key *pk )
static char buffer[11+5];
time_t atime;
- if(!pk->revokedate)
+ if(!pk->revoked.date)
return _("never ");
- atime=pk->revokedate;
+ atime=pk->revoked.date;
return mk_datestr (buffer, atime);
}