From 2cce42c23f628383485d04a8c38a13c490b62257 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 11 May 2004 19:11:53 +0000 Subject: * 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. --- agent/agent.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'agent/agent.h') 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 --*/ -- cgit v1.2.3