mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
agent,dirmngr,kbx,scd,tpm2d: Use gnupg_sleep.
* agent/findkey.c (unprotect): Use gnupg_sleep. * agent/gpg-agent.c (handle_connections): Likewise. * dirmngr/crlfetch.c (handle_connections): Likewise. * kbx/keyboxd.c (handle_connections): Likewise. * tpm2d/tpm3daemon.c (handle_connections): Likewise. * scd/scdaemon.c (handle_connections): Likewise. * scd/command.c (cmd_lock): Likewise. * dirmngr/ldap-wrapper.c (ldap_reaper_thread): Likewise. (ldap_wrapper_wait_connections): Use gnupg_usleep. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
eeb25df6f8
commit
3918fa1a94
9 changed files with 13 additions and 13 deletions
|
@ -1726,9 +1726,9 @@ cmd_lock (assuan_context_t ctx, char *line)
|
|||
if (rc && has_option (line, "--wait"))
|
||||
{
|
||||
rc = 0;
|
||||
npth_sleep (1); /* Better implement an event mechanism. However,
|
||||
for card operations this should be
|
||||
sufficient. */
|
||||
gnupg_sleep (1); /* Better implement an event mechanism. However,
|
||||
for card operations this should be
|
||||
sufficient. */
|
||||
/* Send a progress so that we can detect a connection loss. */
|
||||
rc = send_status_printf (ctrl, "PROGRESS", "scd_locked . 0 0");
|
||||
if (!rc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue