From 52100b459af3a033b095018da9e67d54497aa325 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Tue, 30 Sep 2003 15:30:39 +0000 Subject: * 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). --- g10/gpgv.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'g10/gpgv.c') diff --git a/g10/gpgv.c b/g10/gpgv.c index 73af44ea5..0701ead8e 100644 --- a/g10/gpgv.c +++ b/g10/gpgv.c @@ -242,6 +242,9 @@ cache_disabled_value(PKT_public_key *pk) return 0; } +void +check_trustdb_stale(void) {} + int get_validity_info (PKT_public_key *pk, PKT_user_id *uid) { -- cgit