summaryrefslogtreecommitdiffstats
path: root/agent/agent.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2004-05-11 21:11:53 +0200
committerWerner Koch <wk@gnupg.org>2004-05-11 21:11:53 +0200
commit2cce42c23f628383485d04a8c38a13c490b62257 (patch)
treef1a4e07feaebde155a658fab0894d598b98a42e6 /agent/agent.h
parent* sign.c (gpgsm_sign): Include the error source in the final error (diff)
downloadgnupg2-2cce42c23f628383485d04a8c38a13c490b62257.tar.xz
gnupg2-2cce42c23f628383485d04a8c38a13c490b62257.zip
* gpg-agent.c (handle_signal): Reload the trustlist on SIGHUP.
(start_connection_thread): Hack to simulate a ticker. * trustlist.c (agent_trustlist_housekeeping) (agent_reload_trustlist): New. Protected all global functions here with a simple counter which is sufficient for Pth. * fingerprint.c (gpgsm_get_key_algo_info): New. * sign.c (gpgsm_sign): Don't assume RSA in the status line. * keylist.c (list_cert_colon): Really print the algorithm and key length. (list_cert_raw, list_cert_std): Ditto. (list_cert_colon): Reorganized to be able to tell whether a root certificate is trusted.
Diffstat (limited to 'agent/agent.h')
-rw-r--r--agent/agent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h
index 99fdc0547..6b7821e30 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -189,6 +189,8 @@ int agent_istrusted (const char *fpr);
int agent_listtrusted (void *assuan_context);
int agent_marktrusted (ctrl_t ctrl, const char *name,
const char *fpr, int flag);
+void agent_trustlist_housekeeping (void);
+void agent_reload_trustlist (void);
/*-- divert-scd.c --*/