diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/cmp.c | 2 | ||||
-rw-r--r-- | apps/lib/http_server.c | 6 | ||||
-rw-r--r-- | apps/s_server.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/apps/cmp.c b/apps/cmp.c index bac54f1265..24672144fe 100644 --- a/apps/cmp.c +++ b/apps/cmp.c @@ -2688,7 +2688,7 @@ static int cmp_server(OSSL_CMP_CTX *srv_cmp_ctx) prog, 0, 0); if (ret == 0) { /* no request yet */ if (retry) { - ossl_sleep(1000); + OSSL_sleep(1000); retry = 0; continue; } diff --git a/apps/lib/http_server.c b/apps/lib/http_server.c index 3f9f884c69..03afd715be 100644 --- a/apps/lib/http_server.c +++ b/apps/lib/http_server.c @@ -65,7 +65,7 @@ static void killall(int ret, pid_t *kidpids) if (kidpids[i] != 0) (void)kill(kidpids[i], SIGTERM); OPENSSL_free(kidpids); - ossl_sleep(1000); + OSSL_sleep(1000); exit(ret); } @@ -141,7 +141,7 @@ void spawn_loop(const char *prog) "child process: %ld, term signal %d%s", (long)fpid, WTERMSIG(status), dumped); } - ossl_sleep(1000); + OSSL_sleep(1000); } break; } else if (errno != EINTR) { @@ -156,7 +156,7 @@ void spawn_loop(const char *prog) switch (fpid = fork()) { case -1: /* error */ /* System critically low on memory, pause and try again later */ - ossl_sleep(30000); + OSSL_sleep(30000); break; case 0: /* child */ OPENSSL_free(kidpids); diff --git a/apps/s_server.c b/apps/s_server.c index c04da1fc68..8a573d4414 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -3184,7 +3184,7 @@ static int www_body(int s, int stype, int prot, unsigned char *context) continue; } #endif - ossl_sleep(1000); + OSSL_sleep(1000); continue; } } else if (i == 0) { /* end of input */ @@ -3625,7 +3625,7 @@ static int rev_body(int s, int stype, int prot, unsigned char *context) continue; } #endif - ossl_sleep(1000); + OSSL_sleep(1000); continue; } } else if (i == 0) { /* end of input */ |