<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/crypto/sleep.c, branch openssl-3.5.6</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.5.6</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.5.6'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2025-12-09T09:40:50Z</updated>
<entry>
<title>3.5-POST-CLANG-FORMAT-WEBKIT</title>
<updated>2025-12-09T09:40:50Z</updated>
<author>
<name>Bob Beck</name>
<email>beck@openssl.org</email>
</author>
<published>2025-12-09T09:40:11Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=65310e7e8949c94ca67c2e84e932aea22000aefc'/>
<id>urn:sha1:65310e7e8949c94ca67c2e84e932aea22000aefc</id>
<content type='text'>
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Saša Nedvědický &lt;sashan@openssl.org&gt;
Reviewed-by: Nikola Pajkovsky &lt;nikolap@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/29262)
</content>
</entry>
<entry>
<title>Copyright year updates</title>
<updated>2025-09-16T12:03:50Z</updated>
<author>
<name>openssl-machine</name>
<email>openssl-machine@openssl.org</email>
</author>
<published>2025-09-16T12:03:50Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=c836d8f2b11e97e44b4a882479935b4685ac698b'/>
<id>urn:sha1:c836d8f2b11e97e44b4a882479935b4685ac698b</id>
<content type='text'>
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Release: yes
</content>
</entry>
<entry>
<title>crypto/sleep.c: avoid returning early due to signal</title>
<updated>2025-08-09T19:52:24Z</updated>
<author>
<name>Eugene Syromiatnikov</name>
<email>esyr@openssl.org</email>
</author>
<published>2025-08-07T14:01:23Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=c3572c5f809dca2899fca84a825b431f8f47108d'/>
<id>urn:sha1:c3572c5f809dca2899fca84a825b431f8f47108d</id>
<content type='text'>
On POSIX systems, sleep/usleep/nanosleep may return early due to arrival
of a signal, and OSSL_sleep does not report that, so it is assumed that
it cannot return early.  Fix that by introducing a loop that checks
the remaining time and sleep some more if the time has not passed;
that also solves the issue of limited sleeping time on some systems.

Signed-off-by: Eugene Syromiatnikov &lt;esyr@redhat.com&gt;

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/28196)
</content>
</entry>
<entry>
<title>For Unix, refactor OSSL_sleep() to use nanosleep() instead of usleep()</title>
<updated>2024-05-22T07:59:32Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2024-04-17T11:45:32Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=f352c808edaaced8ba6a95cb440825094f2bb842'/>
<id>urn:sha1:f352c808edaaced8ba6a95cb440825094f2bb842</id>
<content type='text'>
usleep() is obsolete since POSIX.1-2001 and removed in POSIX.1-2008,
in favor of nanosleep(), which has been present since POSIX.1-2001.

The exceptions for DJGPP and TANDEM are preserved.  Also, just in case
nanosleep() turns out to be unavailable on any Unix machinery that we
are unaware of, we allow a revert to using usleep() by defining
OPENSSL_USE_USLEEP.

Reviewed-by: Tom Cosgrove &lt;tom.cosgrove@arm.com&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/24173)
</content>
</entry>
<entry>
<title>Copyright year updates</title>
<updated>2024-04-09T11:43:27Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2024-03-29T14:05:51Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=496bc128fdc994388c8ec956c4b5ebcb90459ae0'/>
<id>urn:sha1:496bc128fdc994388c8ec956c4b5ebcb90459ae0</id>
<content type='text'>
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Release: yes
(cherry picked from commit 3764f200f9d44622faa8ac1b15d2f3eb7c39e473)

Reviewed-by: Hugo Landau &lt;hlandau@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/24034)
</content>
</entry>
<entry>
<title>NonStop: Do not call sleep() with a 0 value</title>
<updated>2024-04-05T14:07:47Z</updated>
<author>
<name>Randall S. Becker</name>
<email>randall.becker@nexbridge.ca</email>
</author>
<published>2024-03-30T22:28:02Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=0d2a5f600c7b6bef6fa6cf720204876560a6194b'/>
<id>urn:sha1:0d2a5f600c7b6bef6fa6cf720204876560a6194b</id>
<content type='text'>
This change ensures that sleep(0) is not invoked to cause unexpected
duplicate thread context switches when _REENTRANT is specified.

Fixes: #24009

Signed-off-by: Randall S. Becker &lt;randall.becker@nexbridge.ca&gt;

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/24012)

(cherry picked from commit c89fe574493f438dd0e94bb9a89227e4ca84c0b7)
</content>
</entry>
<entry>
<title>Correct OSSL_sleep for NonStop PUT model by introducing sleep().</title>
<updated>2024-03-23T13:22:31Z</updated>
<author>
<name>Randall S. Becker</name>
<email>randall.becker@nexbridge.ca</email>
</author>
<published>2024-03-21T21:16:11Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=4a9e48f727ce7ad924c53a55b301e426d7e43863'/>
<id>urn:sha1:4a9e48f727ce7ad924c53a55b301e426d7e43863</id>
<content type='text'>
This fix also removes SPT model support as it was previously deprecated.
Upcoming threading models on the platform should be supportable without change
to this method.

Fixes: #23923
Fixes: #23927
Fixes: #23928

Signed-off-by: Randall S. Becker &lt;randall.becker@nexbridge.ca&gt;

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/23926)
</content>
</entry>
<entry>
<title>Copyright year updates</title>
<updated>2023-09-07T08:59:15Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2023-09-07T08:59:15Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=da1c088f599af3755aaeed1c447a39621ef12e1f'/>
<id>urn:sha1:da1c088f599af3755aaeed1c447a39621ef12e1f</id>
<content type='text'>
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
Release: yes
</content>
</entry>
<entry>
<title>OSSL_sleep(): Calling sleep() function if sleepTime &gt; 1sec</title>
<updated>2023-05-30T19:10:03Z</updated>
<author>
<name>Rajarshi Karmakar</name>
<email>rkarmaka98@gmail.com</email>
</author>
<published>2023-05-22T16:51:57Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=2631a941469864a35258130082096876e7243225'/>
<id>urn:sha1:2631a941469864a35258130082096876e7243225</id>
<content type='text'>
On some systems usleep() func does not support time &gt;1sec.

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/21010)
</content>
</entry>
<entry>
<title>Fix UEFI support on win32</title>
<updated>2023-04-13T09:25:55Z</updated>
<author>
<name>Aidan Khoury</name>
<email>aidan@revers.engineering</email>
</author>
<published>2023-04-11T15:31:57Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=c0e090bd61d2e46a1d8f60f39f10152c87e87753'/>
<id>urn:sha1:c0e090bd61d2e46a1d8f60f39f10152c87e87753</id>
<content type='text'>
Reviewed-by: Hugo Landau &lt;hlandau@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/20714)
</content>
</entry>
</feed>
