diff options
author | Werner Koch <wk@gnupg.org> | 2012-12-28 17:07:37 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2012-12-28 17:07:37 +0100 |
commit | 564d10ea5cd29685a00a4096d69ae2476b60506f (patch) | |
tree | b703a3113a7a3a49312aeb2469b5c3d25056fd74 /kbx | |
parent | gpg: First working support for keyboxes. (diff) | |
download | gnupg2-564d10ea5cd29685a00a4096d69ae2476b60506f.tar.xz gnupg2-564d10ea5cd29685a00a4096d69ae2476b60506f.zip |
kbxutil: Improve format of the Sig-Expire lines.
* kbx/keybox-dump.c (_keybox_dump_blob): Print the expirate timestamp.
Diffstat (limited to 'kbx')
-rw-r--r-- | kbx/keybox-dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kbx/keybox-dump.c b/kbx/keybox-dump.c index ab3108560..b60381424 100644 --- a/kbx/keybox-dump.c +++ b/kbx/keybox-dump.c @@ -324,9 +324,9 @@ _keybox_dump_blob (KEYBOXBLOB blob, FILE *fp) else if (sflags < 0x10000000) fprintf (fp, "[bad flag %0lx]", sflags); else if (sflags == 0xffffffff) - fputs ("0", fp ); + fputs ("[good - does not expire]", fp ); else - fputs ("a time"/*strtimestamp( sflags )*/, fp ); + fprintf (fp, "[good - expires at %lu]", sflags); putc ('\n', fp ); } if (in_range) |