[openssl/openssl] c263b1: Correct ossl_sleep for threaded model by introduci...

Randall S. Becker noreply at github.com
Mon May 6 08:52:04 UTC 2024


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: c263b1fd692bd610b1a3879a9cdad74f3ffe321d
      https://github.com/openssl/openssl/commit/c263b1fd692bd610b1a3879a9cdad74f3ffe321d
  Author: Randall S. Becker <randall.becker at nexbridge.ca>
  Date:   2024-05-06 (Mon, 06 May 2024)

  Changed paths:
    M 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)



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