Home GnuPG
Diffusion GnuPG 7b3e8572e3bb

g10: Change TOFU code to respect --faked-system-time.
7b3e8572e3bbUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

g10: Change TOFU code to respect --faked-system-time.

* g10/tofu.c (record_binding): New parameter now.  Update callers.
Don't use SQLite's strftime('%s','now') to get the current time, use
NOW.
(ask_about_binding): Likewise.
(get_trust): New parameter now.  Update callers.
(show_statistics): Likewise.
(tofu_register_signature): Don't use SQLite's strftime('%s','now') to
get the current time, use gnupg_get_time().
(tofu_register_encryption): Likewise.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Sep 7 2016, 10:28 AM
Parents
rG56c18408d495: g10: Use the correct conversion function.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rG7b3e8572e3bb: g10: Change TOFU code to respect --faked-system-time. (authored by Neal H. Walfield <neal@g10code.com>).Sep 7 2016, 10:28 AM