<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/crypto/encode_decode/encoder_meth.c, branch openssl-3.2</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.2</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.2'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2023-09-07T08:59:15Z</updated>
<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>encoder: update to structure based atomics</title>
<updated>2023-07-01T11:18:25Z</updated>
<author>
<name>Pauli</name>
<email>pauli@openssl.org</email>
</author>
<published>2023-06-21T23:41:30Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=7d6ab1210603c23a4f2cbfb5c542726afe3b08cc'/>
<id>urn:sha1:7d6ab1210603c23a4f2cbfb5c542726afe3b08cc</id>
<content type='text'>
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/21260)
</content>
</entry>
<entry>
<title>Stop raising ERR_R_MALLOC_FAILURE in most places</title>
<updated>2022-10-05T12:02:03Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2022-09-29T11:57:34Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=e077455e9e57ed4ee4676996b4a9aa11df6327a6'/>
<id>urn:sha1:e077455e9e57ed4ee4676996b4a9aa11df6327a6</id>
<content type='text'>
Since OPENSSL_malloc() and friends report ERR_R_MALLOC_FAILURE, and
at least handle the file name and line number they are called from,
there's no need to report ERR_R_MALLOC_FAILURE where they are called
directly, or when SSLfatal() and RLAYERfatal() is used, the reason
`ERR_R_MALLOC_FAILURE` is changed to `ERR_R_CRYPTO_LIB`.

There were a number of places where `ERR_R_MALLOC_FAILURE` was reported
even though it was a function from a different sub-system that was
called.  Those places are changed to report ERR_R_{lib}_LIB, where
{lib} is the name of that sub-system.
Some of them are tricky to get right, as we have a lot of functions
that belong in the ASN1 sub-system, and all the `sk_` calls or from
the CRYPTO sub-system.

Some extra adaptation was necessary where there were custom OPENSSL_malloc()
wrappers, and some bugs are fixed alongside these changes.

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Hugo Landau &lt;hlandau@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/19301)
</content>
</entry>
<entry>
<title>"Reserve" the method store when constructing methods</title>
<updated>2022-07-20T06:28:17Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2022-04-14T15:52:12Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=e1eafe8c87612a94552e9ad5df56c489cb6f0ff2'/>
<id>urn:sha1:e1eafe8c87612a94552e9ad5df56c489cb6f0ff2</id>
<content type='text'>
Introducing the concept of reserving the store where a number of
provided operation methods are to be stored.

This avoids racing when constructing provided methods, which is
especially pertinent when multiple threads are trying to fetch the
same method, or even any implementation for the same given operation
type.

This introduces a |biglock| in OSSL_METHOD_STORE, which is separate
from the |lock| which is used for more internal and finer grained
locking.

Fixes #18152

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/18153)
</content>
</entry>
<entry>
<title>Check return value of ossl_parse_property()</title>
<updated>2022-06-06T07:44:53Z</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.org</email>
</author>
<published>2022-06-02T14:50:15Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=4fa5ed5ce5c345eaeaec8b86eda265add467f941'/>
<id>urn:sha1:4fa5ed5ce5c345eaeaec8b86eda265add467f941</id>
<content type='text'>
Also check if we have d2i_public_key() function pointer.

Fixes https://github.com/openssl/openssl/pull/18355#issuecomment-1144893289

Reviewed-by: Todd Short &lt;todd.short@me.com&gt;
Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/18462)
</content>
</entry>
<entry>
<title>Fix inadvertent NULL assignments in ternary ops</title>
<updated>2022-06-05T09:09:51Z</updated>
<author>
<name>Clemens Lang</name>
<email>cllang@redhat.com</email>
</author>
<published>2022-06-03T11:23:36Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=1a01e5c29dfaf09af3960b4c8e6ec0f8171eda80'/>
<id>urn:sha1:1a01e5c29dfaf09af3960b4c8e6ec0f8171eda80</id>
<content type='text'>
As identified by both clang with a warning and
$&gt; git grep -P '(?&lt;![!=])= NULL \?'

Signed-off-by: Clemens Lang &lt;cllang@redhat.com&gt;
CLA: trivial

Reviewed-by: Dmitry Belyavskiy &lt;beldmit@gmail.com&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/18469)
</content>
</entry>
<entry>
<title>Remove the _fetch_by_number functions</title>
<updated>2022-05-06T00:38:55Z</updated>
<author>
<name>Pauli</name>
<email>pauli@openssl.org</email>
</author>
<published>2022-05-04T04:54:13Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=16ff70a58cfb5c40197e6a940cf4666226f31b79'/>
<id>urn:sha1:16ff70a58cfb5c40197e6a940cf4666226f31b79</id>
<content type='text'>
These functions are unused and untested.  They are also implemented rather
inefficiently.  If we ever needed them in the future, they'd almost surely
need to be rewritten more efficiently.

Fixes #18227

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/18237)
</content>
</entry>
<entry>
<title>Add method store cache flush and method removal to non-EVP operations</title>
<updated>2022-05-05T13:06:12Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2022-05-04T07:15:29Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=32e3c071373280b69be02ba91fc3204495e2e1bf'/>
<id>urn:sha1:32e3c071373280b69be02ba91fc3204495e2e1bf</id>
<content type='text'>
evp_method_store_flush() and evp_method_store_remove_all_provided()
only cover EVP operations, but not encoders, decoders and store loaders.
This adds corresponding methods for those as well.  Without this, their
method stores are never cleaned up when the corresponding providers are
deactivated or otherwise modified.

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/18151)
</content>
</entry>
<entry>
<title>Update copyright year</title>
<updated>2022-05-03T12:34:51Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2022-05-03T10:52:38Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=fecb3aae22aeda493f348739ebf7943071ecdbe1'/>
<id>urn:sha1:fecb3aae22aeda493f348739ebf7943071ecdbe1</id>
<content type='text'>
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Release: yes
</content>
</entry>
<entry>
<title>Refactor OSSL_LIB_CTX to avoid using CRYPTO_EX_DATA</title>
<updated>2022-03-31T23:49:19Z</updated>
<author>
<name>Hugo Landau</name>
<email>hlandau@openssl.org</email>
</author>
<published>2022-03-14T08:13:12Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=927d0566ded0dff9d6c5abc8a40bb84068446b76'/>
<id>urn:sha1:927d0566ded0dff9d6c5abc8a40bb84068446b76</id>
<content type='text'>
This refactors OSSL_LIB_CTX to avoid using CRYPTO_EX_DATA. The assorted
objects to be managed by OSSL_LIB_CTX are hardcoded and are initialized
eagerly rather than lazily, which avoids the need for locking on access
in most cases.

Fixes #17116.

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/17881)
</content>
</entry>
</feed>
