aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal H. Walfield <[email protected]>2015-11-10 07:05:17 +0000
committerNeal H. Walfield <[email protected]>2015-11-10 07:05:17 +0000
commit67c701d1e53f56305e3b8771c683c45bb9672305 (patch)
tree9e8deac54a135faf99bd342a52174cac033d88de
parentgpg: Default to the flat TOFU DB format. (diff)
downloadgnupg-67c701d1e53f56305e3b8771c683c45bb9672305.tar.gz
gnupg-67c701d1e53f56305e3b8771c683c45bb9672305.zip
gpg: Default to the the PGP trust model.
* g10/trustdb.c (init_trustdb): If we can't read the trust model from the trust DB, default to TM_PGP, not TM_TOFU_PGP. -- Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to '')
-rw-r--r--g10/trustdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/trustdb.c b/g10/trustdb.c
index 64de98553..4f60f1f4f 100644
--- a/g10/trustdb.c
+++ b/g10/trustdb.c
@@ -466,8 +466,8 @@ init_trustdb ()
&& opt.trust_model != TM_EXTERNAL)
{
log_info(_("unable to use unknown trust model (%d) - "
- "assuming %s trust model\n"),opt.trust_model,"tofu+pgp");
- opt.trust_model = TM_TOFU_PGP;
+ "assuming %s trust model\n"),opt.trust_model,"pgp");
+ opt.trust_model = TM_PGP;
}
if(opt.verbose)