diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-05-17 13:24:20 +0200 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2021-05-18 14:49:33 +0200 |
commit | 9be5f9a8698b0d902ef1281716eda73a4d8478ed (patch) | |
tree | 9a6fae021f6d21482b78768b97105da1495e613a /apps/cmp.c | |
parent | 78c44e4f819721eb80ad95fddc360a34f9e93118 (diff) |
Move ossl_sleep() to e_os.h and use it in apps
Fixes #15304
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15308)
Diffstat (limited to 'apps/cmp.c')
-rw-r--r-- | apps/cmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/cmp.c b/apps/cmp.c index 70ca9a34fd..f289943a55 100644 --- a/apps/cmp.c +++ b/apps/cmp.c @@ -2705,7 +2705,7 @@ int cmp_main(int argc, char **argv) prog, opt_port, 0, 0); if (ret == 0) { /* no request yet */ if (retry) { - sleep(1); + ossl_sleep(1000); retry = 0; continue; } |