<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/providers/implementations/rands, branch dependabot/github_actions/actions/setup-python-7</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2026-07-10T15:47:09Z</updated>
<entry>
<title>test-rng: handle nonce length query in generate mode</title>
<updated>2026-07-10T15:47:09Z</updated>
<author>
<name>Jakub Zelenka</name>
<email>jakub.zelenka@openssl.foundation</email>
</author>
<published>2026-07-07T14:33:12Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=24d208262acba826724860c568160cb04367068f'/>
<id>urn:sha1:24d208262acba826724860c568160cb04367068f</id>
<content type='text'>
The DRBG instantiation probes the parent nonce callback with a NULL
output buffer to obtain the nonce length before requesting the actual
nonce.  The generate mode branch of test_rng_nonce() wrote the bytes
without checking the output pointer, crashing when TEST-RAND with
generate=1 is used as a DRBG parent.  The entropy-buffer branch already
handles a NULL output correctly.

Assisted-by: Claude:claude-fable-5

Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
Reviewed-by: Nikola Pajkovsky &lt;nikolap@openssl.org&gt;
MergeDate: Fri Jul 10 15:47:15 2026
(Merged from https://github.com/openssl/openssl/pull/31885)
</content>
</entry>
<entry>
<title>Allow MinGW-w64 builds to use BCryptGenRandom</title>
<updated>2026-07-10T12:05:02Z</updated>
<author>
<name>Mounir IDRASSI</name>
<email>mounir.idrassi@idrix.fr</email>
</author>
<published>2021-01-17T01:04:08Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=09d12ef1d740f0330ac2a04f281fb2838df0db7b'/>
<id>urn:sha1:09d12ef1d740f0330ac2a04f281fb2838df0db7b</id>
<content type='text'>
MinGW-w64 has provided bcrypt headers and import libraries since
version 2.0, but OpenSSL only enabled the BCryptGenRandom seeding
path for supported MSVC builds. Enable the existing direct
BCryptGenRandom flow for MinGW-w64 when targeting Windows Vista or
newer, and link MinGW builds with bcrypt alongside the other Windows
import libraries.

Use __MINGW64_VERSION_MAJOR to detect MinGW-w64 because it is defined
by both the 32-bit and 64-bit MinGW-w64 toolchains.

Builds targeting older Windows versions keep the CryptoAPI fallback
because USE_BCRYPTGENRANDOM remains disabled when _WIN32_WINNT is
below 0x0600.

Fixes #13878

Reviewed-by: Milan Broz &lt;mbroz@openssl.org&gt;
Reviewed-by: Nikola Pajkovsky &lt;nikolap@openssl.org&gt;
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
MergeDate: Fri Jul 10 12:05:09 2026
(Merged from https://github.com/openssl/openssl/pull/13882)
</content>
</entry>
<entry>
<title>We no longer need to test for GCC versions this old</title>
<updated>2026-07-10T11:47:13Z</updated>
<author>
<name>Bob Beck</name>
<email>beck@openssl.org</email>
</author>
<published>2026-06-17T23:05:05Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=a7241e862e7a3faa3bd0f254ab6f968cbf98f6f4'/>
<id>urn:sha1:a7241e862e7a3faa3bd0f254ab6f968cbf98f6f4</id>
<content type='text'>
The minimum gcc to compile our code appears to be version 9, and
we are now C99.

All these older checks become a tautology on anything that will
build a modern OpenSSL tree, so clean this up.

Reviewed-by: Milan Broz &lt;mbroz@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
MergeDate: Fri Jul 10 11:47:17 2026
(Merged from https://github.com/openssl/openssl/pull/31677)
</content>
</entry>
<entry>
<title>Allow `getentropy` for Emscripten</title>
<updated>2026-07-08T17:50:54Z</updated>
<author>
<name>Steven WdV</name>
<email>swdv@cs.ru.nl</email>
</author>
<published>2026-07-07T12:52:30Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=4e2e6f4174bb4098727314afea8e8decb80c0d92'/>
<id>urn:sha1:4e2e6f4174bb4098727314afea8e8decb80c0d92</id>
<content type='text'>
Usually Emscripten emulates `/dev/urandom`, but in some cases,
like with `-sNODERAWFS`, it doesn't. This means that on non-Unix platforms,
where `/dev/urandom` does not exist on the host, OpenSSL will fail to seed
its PRNG. This fixes that by instead using the POSIX function it
implements, like which was already done for WASI.

See https://github.com/emscripten-core/emscripten/issues/9628#issuecomment-4892658766 for more context.

CLA: trivial

Reviewed-by: Kurt Roeckx &lt;kurt@roeckx.be&gt;
Reviewed-by: Daniel Kubec &lt;kubec@openssl.foundation&gt;
Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
MergeDate: Wed Jul  8 17:50:39 2026
(Merged from https://github.com/openssl/openssl/pull/31882)

(cherry picked from commit dc219a04088d08de7df5afdb14263b3e9a4c7915)
</content>
</entry>
<entry>
<title>Fix use of BCryptGenRandom</title>
<updated>2026-07-01T09:14:10Z</updated>
<author>
<name>Milan Broz</name>
<email>gmazyland@gmail.com</email>
</author>
<published>2026-06-29T13:30:52Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=635ffe8bb9c0d14ce33c5368d90d5e87781480c3'/>
<id>urn:sha1:635ffe8bb9c0d14ce33c5368d90d5e87781480c3</id>
<content type='text'>
Current path for Windows RNG (for Vista and above) should
use BCryptGenRandom() function but the symbol is not included
in platform_symbols.

The issue was hidden before commit 1eaf29ef6c reordered
Windows header inclusion.

Moreover, a cast to ULONG is required for strict warnings build.

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Saša Nedvědický &lt;sashan@openssl.org&gt;
Reviewed-by: Norbert Pocs &lt;norbertp@openssl.org&gt;
MergeDate: Wed Jul  1 09:14:17 2026
(Merged from https://github.com/openssl/openssl/pull/31774)
</content>
</entry>
<entry>
<title>Remove direct includes of windows.h where possible</title>
<updated>2026-06-20T11:00:32Z</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.foundation</email>
</author>
<published>2026-06-18T13:51:58Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=1eaf29ef6c49ff5c98430c143acf79b7e4d3630e'/>
<id>urn:sha1:1eaf29ef6c49ff5c98430c143acf79b7e4d3630e</id>
<content type='text'>
It should be included via e_os.h instead.

Reviewed-by: Milan Broz &lt;mbroz@openssl.org&gt;
Reviewed-by: Tim Hudson &lt;tjh@openssl.org&gt;
Reviewed-by: Simo Sorce &lt;simo@redhat.com&gt;
Reviewed-by: Frederik Wedel-Heinen &lt;fwh.openssl@gmail.com&gt;
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
MergeDate: Sat Jun 20 11:00:42 2026
(Merged from https://github.com/openssl/openssl/pull/31587)
</content>
</entry>
<entry>
<title>Revert "convert CRYPTO_THREAD_run_once to use InitOnceExecuteOnce api"</title>
<updated>2026-06-17T12:14:51Z</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.foundation</email>
</author>
<published>2026-06-16T10:45:19Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=f3f163243a4fd6f5caea7bdb5ecc655f8c600cbb'/>
<id>urn:sha1:f3f163243a4fd6f5caea7bdb5ecc655f8c600cbb</id>
<content type='text'>
This reverts commit d053fe41a4add4e55dc5633e8aef6602a6a4b90b.

Reviewed-by: Eugene Syromiatnikov &lt;esyr@openssl.org&gt;
Reviewed-by: Nikola Pajkovsky &lt;nikolap@openssl.org&gt;
MergeDate: Wed Jun 17 12:14:58 2026
(Merged from https://github.com/openssl/openssl/pull/31539)
</content>
</entry>
<entry>
<title>Fix up mismatched error reason codes</title>
<updated>2026-06-11T16:06:34Z</updated>
<author>
<name>Jon Spillett</name>
<email>jon.spillett@oracle.com</email>
</author>
<published>2026-06-04T20:23:07Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=6c90156f3e506f443e92b4a20ece685b7680e211'/>
<id>urn:sha1:6c90156f3e506f443e92b4a20ece685b7680e211</id>
<content type='text'>
Reviewed-by: Eugene Syromiatnikov &lt;esyr@openssl.org&gt;
Reviewed-by: Norbert Pocs &lt;norbertp@openssl.org&gt;
Reviewed-by: Milan Broz &lt;mbroz@openssl.org&gt;
Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
MergeDate: Thu Jun 11 16:06:41 2026
(Merged from https://github.com/openssl/openssl/pull/31390)
</content>
</entry>
<entry>
<title>convert CRYPTO_THREAD_run_once to use InitOnceExecuteOnce api</title>
<updated>2026-06-10T19:46:53Z</updated>
<author>
<name>Neil Horman</name>
<email>nhorman@openssl.org</email>
</author>
<published>2026-05-29T13:59:21Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=d053fe41a4add4e55dc5633e8aef6602a6a4b90b'/>
<id>urn:sha1:d053fe41a4add4e55dc5633e8aef6602a6a4b90b</id>
<content type='text'>
Issue #22059 reported a race condition in CRYPTO_THREAD_run_once on
windows platforms.  The most correct fix for this is to convert the
windows run_once implementation to use the Win32 InitOnceRunOnce
interface.  Doing so requires at least Windows Vista/Windows Server 2008
to be available, and because WinXP hasn't built since 3.0 released, it
seems sensible to bump our minimal NT version to be 0x600 (Vista/2008)

Also, while we're at it, this change caught a bad programming practice
in the rio_notifier code, which attempts to reset the once variable
during shutdown.  The windows static initalizer macro for this api is
constructed such that attempting to do so causes a build break.  Since
once variables are not meant to be reset (since they are only triggered
once), remove that reset code to avoid the breakage.

Note that this problem was independently found and fixed in #30198.
We're taking the fix from this pr (as they are effectively identical),
and using that PR to add some much needed tests to the rio code.

Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.foundation&gt;
Reviewed-by: Bob Beck &lt;beck@openssl.org&gt;
MergeDate: Wed Jun 10 19:44:19 2026
(Merged from https://github.com/openssl/openssl/pull/31339)
</content>
</entry>
<entry>
<title>Convert use of artisinally made hand crafted integer types</title>
<updated>2026-05-27T09:08:08Z</updated>
<author>
<name>Bob Beck</name>
<email>beck@openssl.org</email>
</author>
<published>2026-05-20T13:54:06Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=1e6dbc7340a8c406c32f6713768de363bdadfdf8'/>
<id>urn:sha1:1e6dbc7340a8c406c32f6713768de363bdadfdf8</id>
<content type='text'>
to use the stdint.h ones.

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
Reviewed-by: Nikola Pajkovsky &lt;nikolap@openssl.org&gt;
MergeDate: Wed May 27 09:09:41 2026
(Merged from https://github.com/openssl/openssl/pull/31254)
</content>
</entry>
</feed>
