summaryrefslogtreecommitdiffstats
path: root/sm/keydb.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2002-01-15 14:02:47 +0100
committerWerner Koch <wk@gnupg.org>2002-01-15 14:02:47 +0100
commita9979e26a5705f73ef80ae453d2c1ba1362f0426 (patch)
treec5a6f1feb34cabb1610165ddc144edbf9f6b608e /sm/keydb.h
parent* keybox-search.c (blob_cmp_fpr): New. (diff)
downloadgnupg2-a9979e26a5705f73ef80ae453d2c1ba1362f0426.tar.xz
gnupg2-a9979e26a5705f73ef80ae453d2c1ba1362f0426.zip
* import.c (gpgsm_import): Just do a basic cert check before
storing it. * certpath.c (gpgsm_basic_cert_check): New. * keydb.c (keydb_store_cert): New. * import.c (store_cert): Removed and change all caller to use the new function. * verify.c (store_cert): Ditto. * certlist.c (gpgsm_add_to_certlist): Validate the path * certpath.c (gpgsm_validate_path): Check the trust list. * call-agent.c (gpgsm_agent_istrusted): New.
Diffstat (limited to 'sm/keydb.h')
-rw-r--r--sm/keydb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sm/keydb.h b/sm/keydb.h
index 4fdda9d6d..9032c5296 100644
--- a/sm/keydb.h
+++ b/sm/keydb.h
@@ -62,6 +62,8 @@ int keydb_search_subject (KEYDB_HANDLE hd, const char *issuer);
int keydb_classify_name (const char *name, KEYDB_SEARCH_DESC *desc);
+int keydb_store_cert (KsbaCert cert);
+
#endif /*GNUPG_KEYDB_H*/