diff options
| author | David Shaw <[email protected]> | 2003-08-03 02:37:48 +0000 |
|---|---|---|
| committer | David Shaw <[email protected]> | 2003-08-03 02:37:48 +0000 |
| commit | 752e3459ab6cfd3b1e03902a321bbc748e9d7ca5 (patch) | |
| tree | d2a4f8251015de5e475499f98e03a0e54c435bcd /g10/keylist.c | |
| parent | minor changes to make make distcheck happy (diff) | |
| download | gnupg-752e3459ab6cfd3b1e03902a321bbc748e9d7ca5.tar.gz gnupg-752e3459ab6cfd3b1e03902a321bbc748e9d7ca5.zip | |
* options.h, g10.c (main), keylist.c (list_keyblock_print), keyedit.c
(print_and_check_one_sig): New "show-sig-expire" list-option to show
signature expiration dates (if any).
Diffstat (limited to 'g10/keylist.c')
| -rw-r--r-- | g10/keylist.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/g10/keylist.c b/g10/keylist.c index 12cf4e573..e01d8d993 100644 --- a/g10/keylist.c +++ b/g10/keylist.c @@ -823,7 +823,10 @@ list_keyblock_print ( KBNODE keyblock, int secret, int fpr, void *opaque ) printf("%08lX%08lX",(ulong)sig->keyid[0],(ulong)sig->keyid[1]); else printf("%08lX",(ulong)sig->keyid[1]); - printf(" %s ", datestr_from_sig(sig)); + printf(" %s", datestr_from_sig(sig)); + if(opt.list_options&LIST_SHOW_SIG_EXPIRE) + printf(" %s", expirestr_from_sig(sig)); + printf(" "); if( sigrc == '%' ) printf("[%s] ", g10_errstr(rc) ); else if( sigrc == '?' ) |
