aboutsummaryrefslogtreecommitdiffstats
path: root/g10/options.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-11-15 00:19:49 +0000
committerDavid Shaw <[email protected]>2003-11-15 00:19:49 +0000
commitc47ec46526b603a4052873fab3e33ad5f03f758b (patch)
tree3849873131a0e6b3c1a95f791e0733e0414f8d30 /g10/options.h
parent* options.h, g10.c, keyedit.c, keylist.c, mainproc.c: Clarify the (diff)
downloadgnupg-c47ec46526b603a4052873fab3e33ad5f03f758b.tar.gz
gnupg-c47ec46526b603a4052873fab3e33ad5f03f758b.zip
* 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.
Diffstat (limited to 'g10/options.h')
-rw-r--r--g10/options.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/g10/options.h b/g10/options.h
index b3738f524..64799361a 100644
--- a/g10/options.h
+++ b/g10/options.h
@@ -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
{