aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpgv.c
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/gpgv.c
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/gpgv.c')
-rw-r--r--g10/gpgv.c3
1 files changed, 3 insertions, 0 deletions
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)
{