gpg: Change TOFU_STATS to return timestamps.
authorWerner Koch <wk@gnupg.org>
Wed, 24 Aug 2016 17:56:14 +0000 (19:56 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 24 Aug 2016 17:56:14 +0000 (19:56 +0200)
commit0f1f02acc1cdcc2cf74a97b05507bb1f062f8af2
treecb7236e837ed08022a8ba13ba7d84fb129c3ce2e
parent5eb2682686b32bd82096924eeabd0c5bd347adfd
gpg: Change TOFU_STATS to return timestamps.

* g10/tofu.c (write_stats_status): Add arg FP to print a colon
formated line.  Adjust for changed TOFU_STATS interface.
(show_statistics): Let the query return timestamps and use
gnupg_get-time to compute the "time ago" values.

Signed-off-by: Werner Koch <wk@gnupg.org>
doc/DETAILS
g10/tofu.c