mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
kbxutil: Improve format of the Sig-Expire lines.
* kbx/keybox-dump.c (_keybox_dump_blob): Print the expirate timestamp.
This commit is contained in:
parent
a986383424
commit
564d10ea5c
@ -324,9 +324,9 @@ _keybox_dump_blob (KEYBOXBLOB blob, FILE *fp)
|
|||||||
else if (sflags < 0x10000000)
|
else if (sflags < 0x10000000)
|
||||||
fprintf (fp, "[bad flag %0lx]", sflags);
|
fprintf (fp, "[bad flag %0lx]", sflags);
|
||||||
else if (sflags == 0xffffffff)
|
else if (sflags == 0xffffffff)
|
||||||
fputs ("0", fp );
|
fputs ("[good - does not expire]", fp );
|
||||||
else
|
else
|
||||||
fputs ("a time"/*strtimestamp( sflags )*/, fp );
|
fprintf (fp, "[good - expires at %lu]", sflags);
|
||||||
putc ('\n', fp );
|
putc ('\n', fp );
|
||||||
}
|
}
|
||||||
if (in_range)
|
if (in_range)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user