[Pkg-gnupg-commit] [gnupg2] 46/241: gpg: If the saved trust model is unknown, default to tofu+pgp.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Dec 9 20:31:52 UTC 2015


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gnupg2.

commit 9afeb4cca10c3632495fe71b23df99a4878bd3a5
Author: Neal H. Walfield <neal at g10code.com>
Date:   Wed Oct 21 13:37:11 2015 +0200

    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 at g10code.com>
---
 g10/trustdb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/g10/trustdb.c b/g10/trustdb.c
index e2f1935..32061e4 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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list