diff options
author | Neal H. Walfield <[email protected]> | 2016-09-06 20:10:57 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2016-09-06 20:10:57 +0000 |
commit | 67cef405cbfad2e53fc388dd6591ee4f7cb0d973 (patch) | |
tree | 4042e9aad22e894d89fd62dde47232b9b196137a /dirmngr/dirmngr.c | |
parent | g10: Record and show statistics for encrypted messages when using TOFU (diff) | |
download | gnupg-67cef405cbfad2e53fc388dd6591ee4f7cb0d973.tar.gz gnupg-67cef405cbfad2e53fc388dd6591ee4f7cb0d973.zip |
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 <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions