diff options
author | Neal H. Walfield <[email protected]> | 2017-02-02 12:24:57 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2017-02-02 12:26:42 +0000 |
commit | 027b81b35fe36692005b8dba22d9eb2db05e8c80 (patch) | |
tree | 8d9cc6d1c0672f66c81eee96a02246caea4cd57b /g10/pubkey-enc.c | |
parent | gpg: Add newline to output. (diff) | |
download | gnupg-027b81b35fe36692005b8dba22d9eb2db05e8c80.tar.gz gnupg-027b81b35fe36692005b8dba22d9eb2db05e8c80.zip |
gpg: Only print out TOFU statistics for conflicts in interactive mode
* g10/tofu.c (get_trust): Add arguments POLICYP and CONFLICT_SETP. If
they are not NULL, return the policy and conflict set (if there is
one), respectively. Update callers. If MAY_ASK is FALSE, don't print
out the statistics.
(tofu_register_encryption): If there is a conflict and we haven't yet
printed the statistics about the conflicting bindings, do so now.
(tofu_get_validity): Likewise.
Signed-off-by: Neal H. Walfield <[email protected]>
GnuPG-bug-id: 2914
Diffstat (limited to 'g10/pubkey-enc.c')
0 files changed, 0 insertions, 0 deletions