summaryrefslogtreecommitdiffstats
path: root/crypto/bio
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2022-10-03 07:22:52 +0200
committerRichard Levitte <levitte@openssl.org>2022-10-06 08:01:09 +0200
commit5139dec255d0e2f991083cba9d9c62dbe6637046 (patch)
tree200e588ef77b7f2f698a1dfdaaf41c7232becbfd /crypto/bio
parent82d28c6b3cbd8074faaa34cc2ce57dacc580792f (diff)
Rename ossl_sleep calls to OSSL_sleep everywhere
Also, remove inclusions of internal/e_os.h where it seems no longer necessary. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/19330)
Diffstat (limited to 'crypto/bio')
-rw-r--r--crypto/bio/bio_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bio/bio_lib.c b/crypto/bio/bio_lib.c
index a0a83da8cb..cceef45095 100644
--- a/crypto/bio/bio_lib.c
+++ b/crypto/bio/bio_lib.c
@@ -978,7 +978,7 @@ static int bio_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds)
if ((unsigned long)sec_diff * 1000 < nap_milliseconds)
nap_milliseconds = (unsigned int)sec_diff * 1000;
}
- ossl_sleep(nap_milliseconds);
+ OSSL_sleep(nap_milliseconds);
return 1;
}