summaryrefslogtreecommitdiffstats
path: root/sm/call-dirmngr.c
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/call-dirmngr.c
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/call-dirmngr.c')
-rw-r--r--sm/call-dirmngr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sm/call-dirmngr.c b/sm/call-dirmngr.c
index 3a1253452..2323e761c 100644
--- a/sm/call-dirmngr.c
+++ b/sm/call-dirmngr.c
@@ -113,7 +113,8 @@ start_dirmngr (void)
return seterr (Not_Implemented);
}
- log_debug ("connection to dirmngr established\n");
+ if (DBG_AGENT)
+ log_debug ("connection to dirmngr established\n");
return 0;
}
@@ -206,3 +207,5 @@ gpgsm_dirmngr_isvalid (KsbaCert cert)
rc = assuan_transact (dirmngr_ctx, line, NULL, NULL, inq_certificate, &parm);
return map_assuan_err (rc);
}
+
+