]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - apps/cmp.c
Move ossl_sleep() to e_os.h and use it in apps
[thirdparty/openssl.git] / apps / cmp.c
index 70ca9a34fd7eef10e7a6951a59b2812861456b92..f289943a555a5a1810b6e8cc9d4d651a2382d709 100644 (file)
@@ -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;
                 }