<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/crypto/buffer, branch openssl-3.3.1</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.3.1</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.3.1'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2022-10-05T12:02:03Z</updated>
<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>Update copyright year</title>
<updated>2021-06-17T12:24:59Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2021-06-17T12:24:59Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=38fc02a7084438e384e152effa84d4bf085783c9'/>
<id>urn:sha1:38fc02a7084438e384e152effa84d4bf085783c9</id>
<content type='text'>
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/15801)
</content>
</entry>
<entry>
<title>err: rename err_load_xxx_strings_int functions</title>
<updated>2021-05-26T03:01:47Z</updated>
<author>
<name>Pauli</name>
<email>pauli@openssl.org</email>
</author>
<published>2021-05-25T02:04:22Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=b93f6c2db94f736b497ff31a793c1e6766eaf209'/>
<id>urn:sha1:b93f6c2db94f736b497ff31a793c1e6766eaf209</id>
<content type='text'>
The new names are ossl_err_load_xxx_strings.

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/15446)
</content>
</entry>
<entry>
<title>Update copyright year</title>
<updated>2020-11-26T14:18:57Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2020-11-26T14:18:57Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=605856d72cbd4720ad9ccb20c8fd5afbee2ad1a4'/>
<id>urn:sha1:605856d72cbd4720ad9ccb20c8fd5afbee2ad1a4</id>
<content type='text'>
Reviewed-by: Tomas Mraz &lt;tmraz@fedoraproject.org&gt;
(Merged from https://github.com/openssl/openssl/pull/13533)
</content>
</entry>
<entry>
<title>ERR: Rebuild all generated error headers and source files</title>
<updated>2020-11-24T14:22:33Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2020-11-12T09:36:47Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=14a6c6a4e1eb8127514e6f5319701a1d7c3f5e82'/>
<id>urn:sha1:14a6c6a4e1eb8127514e6f5319701a1d7c3f5e82</id>
<content type='text'>
This is the result of 'make errors ERROR_REBUILD=-rebuild'

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/13390)
</content>
</entry>
<entry>
<title>Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call</title>
<updated>2020-11-13T08:35:02Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2020-11-04T11:23:19Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=9311d0c471ca2eaa259e8c1bbbeb7c46394c7ba2'/>
<id>urn:sha1:9311d0c471ca2eaa259e8c1bbbeb7c46394c7ba2</id>
<content type='text'>
This includes error reporting for libcrypto sub-libraries in surprising
places.

This was done using util/err-to-raise

Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
(Merged from https://github.com/openssl/openssl/pull/13318)
</content>
</entry>
<entry>
<title>Rework how our providers are built</title>
<updated>2019-10-10T12:12:15Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2019-10-03T23:38:17Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=dec95d75897125133380c7ce3c6ce58c93c06f10'/>
<id>urn:sha1:dec95d75897125133380c7ce3c6ce58c93c06f10</id>
<content type='text'>
We put almost everything in these internal static libraries:

libcommon               Block building code that can be used by all
                        our implementations, legacy and non-legacy
                        alike.
libimplementations      All non-legacy algorithm implementations and
                        only them.  All the code that ends up here is
                        agnostic to the definitions of FIPS_MODE.
liblegacy               All legacy implementations.

libnonfips              Support code for the algorithm implementations.
                        Built with FIPS_MODE undefined.  Any code that
                        checks that FIPS_MODE isn't defined must end
                        up in this library.
libfips                 Support code for the algorithm implementations.
                        Built with FIPS_MODE defined.  Any code that
                        checks that FIPS_MODE is defined must end up
                        in this library.

The FIPS provider module is built from providers/fips/*.c and linked
with libimplementations, libcommon and libfips.

The Legacy provider module is built from providers/legacy/*.c and
linked with liblegacy, libcommon and libcrypto.
If module building is disabled, the object files from liblegacy and
libcommon are added to libcrypto and the Legacy provider becomes a
built-in provider.

The Default provider module is built-in, so it ends up being linked
with libimplementations, libcommon and libnonfips.  For libcrypto in
form of static library, the object files from those other libraries
are simply being added to libcrypto.

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/10088)
</content>
</entry>
<entry>
<title>util/mkerr.pl: make it not depend on the function code</title>
<updated>2019-09-12T15:59:52Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2019-09-04T19:45:56Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=0cd1b144f99e9aabea15a158bd567cba81592039'/>
<id>urn:sha1:0cd1b144f99e9aabea15a158bd567cba81592039</id>
<content type='text'>
The output C code was made to use ERR_func_error_string() to see if a
string table was already loaded or not.  Since this function returns
NULL always, this check became useless.

Change it to use ERR_reason_error_string() instead, as there's no
reason to believe we will get rid of reason strings, ever.

To top it off, we rebuild all affected C sources.

Fixes #9756

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/9756)
</content>
</entry>
<entry>
<title>Make the EC code available from inside the FIPS provider</title>
<updated>2019-08-06T10:19:07Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2019-07-03T16:30:03Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=a9612d6c034f47c4788c67d85651d0cd58c3faf7'/>
<id>urn:sha1:a9612d6c034f47c4788c67d85651d0cd58c3faf7</id>
<content type='text'>
Reviewed-by: Nicola Tuveri &lt;nic.tuv@gmail.com&gt;
(Merged from https://github.com/openssl/openssl/pull/9380)
</content>
</entry>
<entry>
<title>Regenerate mkerr files</title>
<updated>2019-07-16T03:26:28Z</updated>
<author>
<name>Rich Salz</name>
<email>rsalz@akamai.com</email>
</author>
<published>2019-07-11T18:01:56Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=cbfa5b03989ee6b8f5c13c4284d5bae02c562f20'/>
<id>urn:sha1:cbfa5b03989ee6b8f5c13c4284d5bae02c562f20</id>
<content type='text'>
Reviewed-by: Tomas Mraz &lt;tmraz@fedoraproject.org&gt;
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/9058)
</content>
</entry>
</feed>
