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 <neal@g10code.com>
This commit is contained in:
Neal H. Walfield 2015-11-10 08:05:17 +01:00
parent 951f277b6b
commit 67c701d1e5
1 changed files with 2 additions and 2 deletions

View File

@ -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)