summaryrefslogtreecommitdiffstats
path: root/g10/tofu.c
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@g10code.com>2015-11-10 08:03:57 +0100
committerNeal H. Walfield <neal@g10code.com>2015-11-10 08:03:57 +0100
commit951f277b6bf8178560105538d38e2a07a96865bd (patch)
tree659fff026e6755928a8e668eab22e10784cf516c /g10/tofu.c
parentdirmngr: Change to new ADNS Tor mode init scheme. (diff)
downloadgnupg2-951f277b6bf8178560105538d38e2a07a96865bd.tar.xz
gnupg2-951f277b6bf8178560105538d38e2a07a96865bd.zip
gpg: Default to the flat TOFU DB format.
* g10/tofu.c (opendbs): If the TOFU DB format is set to auto and there is no TOFU DB, default to the flat format. -- Signed-off-by: Neal H. Walfield <neal@g10code.com>
Diffstat (limited to '')
-rw-r--r--g10/tofu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/tofu.c b/g10/tofu.c
index f6d2d5eb8..f7dd40db5 100644
--- a/g10/tofu.c
+++ b/g10/tofu.c
@@ -1014,9 +1014,9 @@ opendbs (void)
}
else
{
- opt.tofu_db_format = TOFU_DB_SPLIT;
+ opt.tofu_db_format = TOFU_DB_FLAT;
if (DBG_TRUST)
- log_debug ("Using split format for TOFU DB.\n");
+ log_debug ("Using flat format for TOFU DB.\n");
}
}