<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openssl-new.git/crypto/objects, branch master</title>
<subtitle>github.com: openssl/openssl.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openssl-new.git/'/>
<entry>
<title>Don't call OPENSSL_init_crypto from inside a RUN_ONCE</title>
<updated>2023-04-04T07:36:42+00:00</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2023-03-31T09:35:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openssl-new.git/commit/?id=540c2d175d3c7c28bb969a74f6fe0396f0addc1a'/>
<id>540c2d175d3c7c28bb969a74f6fe0396f0addc1a</id>
<content type='text'>
Calling OPENSSL_init_crypto from inside a RUN_ONCE seems like a bad idea.
This is especially bad if OPENSSL_init_crypto can recursively end up
attempting to call the RUN_ONCE that we're already inside.

The initialisation in OPENSSL_init_crypto is already "run once" protected.
There is no need to protect it "twice".

Fixes #20653

Reviewed-by: Paul Dale &lt;pauli@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/20662)

(cherry picked from commit a9745427cd5d44a76b31690b4a2c6bef2ee677c4)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Calling OPENSSL_init_crypto from inside a RUN_ONCE seems like a bad idea.
This is especially bad if OPENSSL_init_crypto can recursively end up
attempting to call the RUN_ONCE that we're already inside.

The initialisation in OPENSSL_init_crypto is already "run once" protected.
There is no need to protect it "twice".

Fixes #20653

Reviewed-by: Paul Dale &lt;pauli@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/20662)

(cherry picked from commit a9745427cd5d44a76b31690b4a2c6bef2ee677c4)
</pre>
</div>
</content>
</entry>
<entry>
<title>OBJ_nid2obj(): Return UNDEF object instead of NULL for NID_undef</title>
<updated>2023-03-23T14:33:47+00:00</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.org</email>
</author>
<published>2023-03-21T10:36:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openssl-new.git/commit/?id=908ba3ed9adbb3df90f7684a3111ca916a45202d'/>
<id>908ba3ed9adbb3df90f7684a3111ca916a45202d</id>
<content type='text'>
Fixes a regression from 3.0 from the obj creation refactoring.

Fixes #20555

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
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/20556)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes a regression from 3.0 from the obj creation refactoring.

Fixes #20555

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
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/20556)
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow OBJ_create() to create an OBJ and NID with a NULL OID</title>
<updated>2022-12-13T14:40:16+00:00</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2022-12-09T15:57:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openssl-new.git/commit/?id=b79da97cf8751d7b196a87cc8bced0bb3334a0d3'/>
<id>b79da97cf8751d7b196a87cc8bced0bb3334a0d3</id>
<content type='text'>
We already permit this in crypto/objects/objects.txt, but not programatically,
although being able to do so programatically would be beneficial.

Reviewed-by: Dmitry Belyavskiy &lt;beldmit@gmail.com&gt;
Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/19876)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We already permit this in crypto/objects/objects.txt, but not programatically,
although being able to do so programatically would be beneficial.

Reviewed-by: Dmitry Belyavskiy &lt;beldmit@gmail.com&gt;
Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/19876)
</pre>
</div>
</content>
</entry>
<entry>
<title>obj: Add SM4 XTS OID</title>
<updated>2022-11-29T15:17:30+00:00</updated>
<author>
<name>Xu Yizhou</name>
<email>xuyizhou1@huawei.com</email>
</author>
<published>2022-11-01T09:06:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openssl-new.git/commit/?id=de8f6a3e293a43f364cddefdf734b13486ec4cc9'/>
<id>de8f6a3e293a43f364cddefdf734b13486ec4cc9</id>
<content type='text'>
Add the following OID:

SM4-XTS: 1.2.156.10197.1.104.10

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/19619)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the following OID:

SM4-XTS: 1.2.156.10197.1.104.10

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/19619)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ZSTD compression support (RFC8478bis)</title>
<updated>2022-10-18T13:30:21+00:00</updated>
<author>
<name>Todd Short</name>
<email>tshort@akamai.com</email>
</author>
<published>2021-08-09T20:56:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openssl-new.git/commit/?id=caf9317d7d75213990014e07048384be15688889'/>
<id>caf9317d7d75213990014e07048384be15688889</id>
<content type='text'>
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Hugo Landau &lt;hlandau@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/18186)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Hugo Landau &lt;hlandau@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/18186)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add brotli compression support (RFC7924)</title>
<updated>2022-10-18T13:30:18+00:00</updated>
<author>
<name>Todd Short</name>
<email>tshort@akamai.com</email>
</author>
<published>2021-08-09T20:56:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openssl-new.git/commit/?id=12e96a23604a7aa1cd8f83486b02f1bcab6d468f'/>
<id>12e96a23604a7aa1cd8f83486b02f1bcab6d468f</id>
<content type='text'>
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Hugo Landau &lt;hlandau@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/18186)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Hugo Landau &lt;hlandau@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/18186)
</pre>
</div>
</content>
</entry>
<entry>
<title>Reimplement brainpool TLSv1.3 support group support</title>
<updated>2022-10-07T09:01:48+00:00</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2022-09-30T10:57:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openssl-new.git/commit/?id=c9ee6e3646258f79a9970be96394cb2b93b7eddd'/>
<id>c9ee6e3646258f79a9970be96394cb2b93b7eddd</id>
<content type='text'>
Create new TLS_GROUP_ENTRY values for these groups.

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Dmitry Belyavskiy &lt;beldmit@gmail.com&gt;
(Merged from https://github.com/openssl/openssl/pull/19315)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Create new TLS_GROUP_ENTRY values for these groups.

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Dmitry Belyavskiy &lt;beldmit@gmail.com&gt;
(Merged from https://github.com/openssl/openssl/pull/19315)
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop raising ERR_R_MALLOC_FAILURE in most places</title>
<updated>2022-10-05T12:02:03+00:00</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2022-09-29T11:57:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openssl-new.git/commit/?id=e077455e9e57ed4ee4676996b4a9aa11df6327a6'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Content Type OID for RPKI id-ct-signedTAL</title>
<updated>2022-10-03T00:49:04+00:00</updated>
<author>
<name>Job Snijders</name>
<email>job@sobornost.net</email>
</author>
<published>2022-09-15T08:12:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openssl-new.git/commit/?id=fcae2ae4f675def607d338b7945b9af1dd9bb746'/>
<id>fcae2ae4f675def607d338b7945b9af1dd9bb746</id>
<content type='text'>
References: draft-ietf-sidrops-signed-tal
Title: "RPKI Signed Object for Trust Anchor Key"

OID permanently assigned under 'SMI Security for S/MIME CMS Content Type (1.2.840.113549.1.9.16.1)'
https://www.iana.org/assignments/smi-numbers/smi-numbers.xhtml#security-smime-1

CLA: trivial

Reviewed-by: Hugo Landau &lt;hlandau@openssl.org&gt;
Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/19221)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
References: draft-ietf-sidrops-signed-tal
Title: "RPKI Signed Object for Trust Anchor Key"

OID permanently assigned under 'SMI Security for S/MIME CMS Content Type (1.2.840.113549.1.9.16.1)'
https://www.iana.org/assignments/smi-numbers/smi-numbers.xhtml#security-smime-1

CLA: trivial

Reviewed-by: Hugo Landau &lt;hlandau@openssl.org&gt;
Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/19221)
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow PKCS12 export to set arbitrary bag attributes</title>
<updated>2022-09-23T16:40:02+00:00</updated>
<author>
<name>Graham Woodward</name>
<email>graham.woodward@ibm.com</email>
</author>
<published>2022-08-19T07:46:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openssl-new.git/commit/?id=e869c867c1c405de3b6538586f17b67937556a4b'/>
<id>e869c867c1c405de3b6538586f17b67937556a4b</id>
<content type='text'>
Reviewed-by: Dmitry Belyavskiy &lt;beldmit@gmail.com&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/19025)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Dmitry Belyavskiy &lt;beldmit@gmail.com&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/19025)
</pre>
</div>
</content>
</entry>
</feed>
