aboutsummaryrefslogtreecommitdiffstats
path: root/g10/trustdb.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-12-13 21:10:53 +0000
committerDavid Shaw <[email protected]>2002-12-13 21:10:53 +0000
commit6a4bd944a8a727ebafeae821228c22fe05f11316 (patch)
tree7b7c2bb00a9cd474456e149e78db237c022f5d8e /g10/trustdb.c
parent* tdbio.c (tdbio_read_record, tdbio_write_record): Compact the (diff)
downloadgnupg-6a4bd944a8a727ebafeae821228c22fe05f11316.tar.gz
gnupg-6a4bd944a8a727ebafeae821228c22fe05f11316.zip
* pkclist.c (do_we_trust): Tweak language to refer to the "named
user" rather than "owner". Noted by Stefan Bellon. * trustdb.h, trustdb.c (trustdb_pending_check): New function to check if the trustdb needs a check. * import.c (import_keys_internal): Used here so we don't rebuild the trustdb if it is still clean. (import_one, chk_self_sigs): Only mark trustdb dirty if the key that is being imported has any sigs other than self-sigs. Suggested by Adrian von Bidder. * options.skel: Include the required '=' sign in the sample 'group' option. Noted by Stefan Bellon. * import.c (chk_self_sigs): Don't try and check a subkey as if it was a signature.
Diffstat (limited to '')
-rw-r--r--g10/trustdb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/g10/trustdb.c b/g10/trustdb.c
index a49de5ea0..c3041370c 100644
--- a/g10/trustdb.c
+++ b/g10/trustdb.c
@@ -551,6 +551,12 @@ revalidation_mark (void)
pending_check_trustdb = 1;
}
+int
+trustdb_pending_check(void)
+{
+ return pending_check_trustdb;
+}
+
/***********************************************
*********** Ownertrust et al. ****************