gpg: If the saved trust model is unknown, default to tofu+pgp.

* g10/trustdb.c (init_trustdb): If the saved trust model is unknown,
default to tofu+pgp instead of pgp.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>
This commit is contained in:
Neal H. Walfield 2015-10-21 13:37:11 +02:00
parent 8c3b7915d6
commit 9afeb4cca1
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,"PGP");
opt.trust_model=TM_PGP;
"assuming %s trust model\n"),opt.trust_model,"tofu+pgp");
opt.trust_model = TM_TOFU_PGP;
}
if(opt.verbose)