gpg: Default to the flat TOFU DB format.
authorNeal H. Walfield <neal@g10code.com>
Tue, 10 Nov 2015 07:03:57 +0000 (08:03 +0100)
committerNeal H. Walfield <neal@g10code.com>
Tue, 10 Nov 2015 07:03:57 +0000 (08:03 +0100)
* 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>
g10/tofu.c

index f6d2d5e..f7dd40d 100644 (file)
@@ -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");
        }
     }