diff options
author | NIIBE Yutaka <[email protected]> | 2021-10-05 05:05:56 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2021-10-05 05:05:56 +0000 |
commit | 3918fa1a9488d56040d43e4af1254f9564266513 (patch) | |
tree | 33d75c62a3fffb1730da9e285e5d7047ca14ae46 /tpm2d | |
parent | agent: Fix calibrate_get_time use of clock_gettime. (diff) | |
download | gnupg-3918fa1a9488d56040d43e4af1254f9564266513.tar.gz gnupg-3918fa1a9488d56040d43e4af1254f9564266513.zip |
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 <[email protected]>
Diffstat (limited to 'tpm2d')
-rw-r--r-- | tpm2d/tpm2daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpm2d/tpm2daemon.c b/tpm2d/tpm2daemon.c index 261896cc2..b68579352 100644 --- a/tpm2d/tpm2daemon.c +++ b/tpm2d/tpm2daemon.c @@ -1215,7 +1215,7 @@ handle_connections (int listen_fd) { log_error (_("npth_pselect failed: %s - waiting 1s\n"), strerror (saved_errno)); - npth_sleep (1); + gnupg_sleep (1); continue; } |