1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* options.h, trustdb.c (trust_model_string, init_trustdb): Add support for

"external" trust model, where the user can provide a pregenerated trustdb.

* keyedit.c (keyedit_menu): Do not allow editing ownertrust with an
external trust model trustdb.
This commit is contained in:
David Shaw 2003-11-15 00:19:49 +00:00
parent 80caf9957f
commit c47ec46526
4 changed files with 30 additions and 8 deletions

View file

@ -91,7 +91,10 @@ struct {
int compress_sigs;
/* TM_CLASSIC must be zero to accomodate trustdbs generated before
we started storing the trust model inside the trustdb. */
enum {TM_CLASSIC=0, TM_PGP=1, TM_ALWAYS, TM_AUTO} trust_model;
enum
{
TM_CLASSIC=0, TM_PGP=1, TM_EXTERNAL=2, TM_ALWAYS, TM_AUTO
} trust_model;
unsigned int force_ownertrust;
enum
{