From 9afeb4cca10c3632495fe71b23df99a4878bd3a5 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Wed, 21 Oct 2015 13:37:11 +0200 Subject: 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 --- g10/trustdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/g10/trustdb.c b/g10/trustdb.c index e2f193526..32061e41c 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,"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) -- cgit v1.2.3