diff options
author | Neal H. Walfield <[email protected]> | 2015-10-21 11:37:11 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-10-21 11:45:50 +0000 |
commit | 9afeb4cca10c3632495fe71b23df99a4878bd3a5 (patch) | |
tree | 43064e9b26f891de8f3e82a5300db93c687a4930 | |
parent | gpg: Don't accidentally free UTK_LIST. (diff) | |
download | gnupg-9afeb4cca10c3632495fe71b23df99a4878bd3a5.tar.gz gnupg-9afeb4cca10c3632495fe71b23df99a4878bd3a5.zip |
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 <[email protected]>
-rw-r--r-- | g10/trustdb.c | 4 |
1 files 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) |