aboutsummaryrefslogtreecommitdiffstats
path: root/g10/trustdb.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-09-30 15:30:39 +0000
committerDavid Shaw <[email protected]>2003-09-30 15:30:39 +0000
commit52100b459af3a033b095018da9e67d54497aa325 (patch)
treed2be9f7a416d5bcd610aa7adb062647f7e78c5ab /g10/trustdb.h
parent* keygen.c (do_add_key_flags, parse_parameter_usage): Add support (diff)
downloadgnupg-52100b459af3a033b095018da9e67d54497aa325.tar.gz
gnupg-52100b459af3a033b095018da9e67d54497aa325.zip
* gpgv.c (check_trustdb_stale): Stub.
* trustdb.c (get_validity): Move the up-to-date check to check_trustdb_stale (new), so that it can be called before validity is checked. * keylist.c (list_keyblock_print): Disable the overall key validity display until it can be thought about more. Use check_trustdb_stale here to avoid putting the check warning in the middle of a listed key. * trustdb.c (init_trustdb): Only verify_own_keys() for those trust models that it applies to (i.e. classic and OpenPGP).
Diffstat (limited to 'g10/trustdb.h')
-rw-r--r--g10/trustdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/trustdb.h b/g10/trustdb.h
index 414c37702..bd7344bc9 100644
--- a/g10/trustdb.h
+++ b/g10/trustdb.h
@@ -44,6 +44,7 @@ void check_trustdb (void);
void update_trustdb (void);
int setup_trustdb( int level, const char *dbname );
void init_trustdb( void );
+void check_trustdb_stale(void);
void sync_trustdb( void );
const char *trust_value_to_string (unsigned int value);