Home GnuPG
Diffusion GnuPG 67cef405cbfa

g10: Only show the TOFU warning once per key.
67cef405cbfaUnpublished

Unpublished Commit ยท Learn More

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

Description

g10: Only show the TOFU warning once per key.

* g10/tofu.c (show_statistics): Return whether to call show_warning.
Move the warning from here...
(show_warning): ... to this new function.
(tofu_get_validity): If show_statistics returns a non-zero value, call
show_warning.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Sep 6 2016, 10:10 PM
Parents
rG875ac9216f13: g10: Record and show statistics for encrypted messages when using TOFU
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rG67cef405cbfa: g10: Only show the TOFU warning once per key. (authored by Neal H. Walfield <neal@g10code.com>).Sep 6 2016, 10:10 PM