[openssl/openssl] 7614c2: Correct ossl_sleep for threaded model by introduci...
Randall S. Becker
noreply at github.com
Mon May 6 08:53:03 UTC 2024
Branch: refs/heads/openssl-3.1
Home: https://github.com/openssl/openssl
Commit: 7614c26f5f75af088aefbf61c7dea83dab61488b
https://github.com/openssl/openssl/commit/7614c26f5f75af088aefbf61c7dea83dab61488b
Author: Randall S. Becker <randall.becker at nexbridge.ca>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M include/internal/e_os.h
Log Message:
-----------
Correct ossl_sleep for threaded model by introducing sleep().
This fix handles situations where ossl_sleep() receives a millis value equal
or greater than 1000, which breaks platforms where this is not legal. The
change also avoids unnecessarily calling sleep(0).
Fixes: #23961
Signed-off-by: Randall S. Becker <randall.becker at nexbridge.ca>
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23972)
(cherry picked from commit c263b1fd692bd610b1a3879a9cdad74f3ffe321d)
To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
More information about the openssl-commits
mailing list