<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/test/namemap_internal_test.c, 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-05-11T08:21:48Z</updated>
<entry>
<title>Add various MFAIL tests to excercise ht insert</title>
<updated>2026-05-11T08:21:48Z</updated>
<author>
<name>Jakub Zelenka</name>
<email>jakub.zelenka@openssl.foundation</email>
</author>
<published>2026-05-05T17:56:34Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=658181faa860aa3902b1f5e486e76d3b938ec342'/>
<id>urn:sha1:658181faa860aa3902b1f5e486e76d3b938ec342</id>
<content type='text'>
Reviewed-by: Nikola Pajkovsky &lt;nikolap@openssl.org&gt;
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
MergeDate: Mon May 11 08:21:56 2026
(Merged from https://github.com/openssl/openssl/pull/31092)
</content>
</entry>
<entry>
<title>4.0-POST-CLANG-FORMAT-WEBKIT</title>
<updated>2025-12-09T07:28:19Z</updated>
<author>
<name>Bob Beck</name>
<email>beck@openssl.org</email>
</author>
<published>2025-12-09T07:08:07Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=2fab90bb5e1937f1c2125eab144f7f6c39e70087'/>
<id>urn:sha1:2fab90bb5e1937f1c2125eab144f7f6c39e70087</id>
<content type='text'>
Reviewed-by: Saša Nedvědický &lt;sashan@openssl.org&gt;
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Nikola Pajkovsky &lt;nikolap@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/29242)
</content>
</entry>
<entry>
<title>Copyright year updates</title>
<updated>2024-09-05T07:35:49Z</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.org</email>
</author>
<published>2024-09-05T07:35:49Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=7ed6de997f62466271ef7ff6016026e1fdc76963'/>
<id>urn:sha1:7ed6de997f62466271ef7ff6016026e1fdc76963</id>
<content type='text'>
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Release: yes
</content>
</entry>
<entry>
<title>Use the new hashtable for core_namemap</title>
<updated>2024-08-21T13:21:26Z</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.org</email>
</author>
<published>2024-05-27T14:50:05Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=4cad608509855a7c181a856d64084c97aee80589'/>
<id>urn:sha1:4cad608509855a7c181a856d64084c97aee80589</id>
<content type='text'>
This replaces LHASH in core_namemap with the new hashtable and adds
a reverse mapping in form of stack of stacks instead of iterating
the existing hash table members.

The new hashtable is used in lockless-read mode.

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Paul Dale &lt;ppzgs1@gmail.com&gt;
(Merged from https://github.com/openssl/openssl/pull/24504)
</content>
</entry>
<entry>
<title>Update copyright year</title>
<updated>2021-04-08T12:04:41Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2021-04-08T12:04:41Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=3c2bdd7df95b5ce2aa238de9e39e0e70125bd7e6'/>
<id>urn:sha1:3c2bdd7df95b5ce2aa238de9e39e0e70125bd7e6</id>
<content type='text'>
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/14801)
</content>
</entry>
<entry>
<title>Always check CRYPTO_LOCK_{read,write}_lock</title>
<updated>2021-03-14T05:33:34Z</updated>
<author>
<name>Rich Salz</name>
<email>rsalz@akamai.com</email>
</author>
<published>2021-02-18T20:31:56Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=cd3f8c1b11b0b9f4163bc8c62cbae38aec1b4030'/>
<id>urn:sha1:cd3f8c1b11b0b9f4163bc8c62cbae38aec1b4030</id>
<content type='text'>
Some functions that lock things are void, so we just return early.

Also make ossl_namemap_empty return 0 on error.  Updated the docs, and added
some code to ossl_namemap_stored() to handle the failure, and updated the
tests to allow for failure.

Fixes: #14230

Reviewed-by: Shane Lontis &lt;shane.lontis@oracle.com&gt;
Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/14238)
</content>
</entry>
<entry>
<title>namemap: change ossl_namemap_empty() to do what the documentation says.</title>
<updated>2020-06-21T06:49:51Z</updated>
<author>
<name>Pauli</name>
<email>paul.dale@oracle.com</email>
</author>
<published>2020-06-18T01:01:08Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=c720fc35f4aa90cdc7cdc424b976c5322fb0098e'/>
<id>urn:sha1:c720fc35f4aa90cdc7cdc424b976c5322fb0098e</id>
<content type='text'>
The function is documented as returning 1 when passed a NULL argument.
Instead it core dumps.  Added a unit test for this.

Additionally, a performance improvement is incorporated.  The namemap
max_number field is only ever compared against zero and incremented.
The zero comparison grabs a lock specifically for this check.  This change
uses TSAN operations instead if they are available.

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/12181)
</content>
</entry>
<entry>
<title>Update copyright year</title>
<updated>2020-04-23T12:55:52Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2020-04-23T12:55:52Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=33388b44b67145af2181b1e9528c381c8ea0d1b6'/>
<id>urn:sha1:33388b44b67145af2181b1e9528c381c8ea0d1b6</id>
<content type='text'>
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/11616)
</content>
</entry>
<entry>
<title>Modify EVP_CIPHER_is_a() and EVP_MD_is_a() to handle legacy methods too</title>
<updated>2020-01-17T07:59:41Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2020-01-15T00:04:37Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=e4a1d0230016d090ba78bc7092384315f85b0e72'/>
<id>urn:sha1:e4a1d0230016d090ba78bc7092384315f85b0e72</id>
<content type='text'>
These functions would only handle provided methods, but there are
cases where the caller just passes along a received method without
knowing the underlying method tech, so might pass along a legacy
method.  We therefore need to have them handle this case as well so
they don't cause any unnecessary surprises.

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/10845)
</content>
</entry>
<entry>
<title>test/namemap_internal_test.c: use "cookie" instead of "foo"...</title>
<updated>2019-12-13T09:03:57Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2019-12-10T19:38:09Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=97ba39547d4c79b60131475a1512cc7d7e8952b2'/>
<id>urn:sha1:97ba39547d4c79b60131475a1512cc7d7e8952b2</id>
<content type='text'>
... in test_namemap()

Because tests may sometimes run in random order (subject of the
environment variable OPENSSL_TEST_RAND_ORDER being defined), and we're
dealing with the global namemap, each test must use names that are
globally unique for that test.  Unfortunately, we used "foo" in two of
them, which might lead to surprising results.

Fixes #10401

Reviewed-by: Tomas Mraz &lt;tmraz@fedoraproject.org&gt;
(Merged from https://github.com/openssl/openssl/pull/10601)
</content>
</entry>
</feed>
