<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl, branch openssl-3.1.2</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.1.2</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.1.2'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2023-08-01T13:36:55Z</updated>
<entry>
<title>Prepare for release of 3.1.2</title>
<updated>2023-08-01T13:36:55Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2023-08-01T13:36:55Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=17a2c5111864d8e016c5f2d29c40a3746b559e9d'/>
<id>urn:sha1:17a2c5111864d8e016c5f2d29c40a3746b559e9d</id>
<content type='text'>
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Release: yes
</content>
</entry>
<entry>
<title>make update</title>
<updated>2023-08-01T13:36:54Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2023-08-01T13:36:54Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=41d3fc9b96a6e6ebf38e93558de7010eaf633fb7'/>
<id>urn:sha1:41d3fc9b96a6e6ebf38e93558de7010eaf633fb7</id>
<content type='text'>
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Release: yes
</content>
</entry>
<entry>
<title>Copyright year updates</title>
<updated>2023-08-01T13:35:30Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2023-08-01T13:35:30Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=e265fe3ad2805e66d706f03da8c82e6694607573'/>
<id>urn:sha1:e265fe3ad2805e66d706f03da8c82e6694607573</id>
<content type='text'>
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Release: yes
</content>
</entry>
<entry>
<title>Fix a regression in X509_VERIFY_PARAM_add0_policy()</title>
<updated>2023-07-31T13:12:51Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2023-07-27T11:09:47Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=162b5a3483c16995a6f882a998e6a69ce44da016'/>
<id>urn:sha1:162b5a3483c16995a6f882a998e6a69ce44da016</id>
<content type='text'>
Also fixes a similar regression in X509_VERIFY_PARAM_add0_table().

Commit 38ebfc3 introduced a regression in 3.0.6 that changed the return
value of the two functions above from 1 on success to the number of entries
in the stack. If there are more than one entry then this is a change in
behaviour which should not have been introduced into a stable release.

This reverts the behaviour back to what it was prior to the change. The code
is slightly different to the original code in that we also handle a possible
-1 return value from the stack push function. This should never happen in
reality because we never pass a NULL stack as a parameter - but for the sake
of robustness we handle it anyway.

Note that the changed behaviour exists in all versions of 3.1 (it never had
the original version). But 3.1 should be fully backwards compatible with 3.0
so we should change it there too.

Fixes #21570

Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
Reviewed-by: Tom Cosgrove &lt;tom.cosgrove@arm.com&gt;
(Merged from https://github.com/openssl/openssl/pull/21576)

(cherry picked from commit e3d897d3fa3b48bb835fab0665a435469beea7ae)
</content>
</entry>
<entry>
<title>vpaes: LoongArch: Use getauxval(AT_HWCAP) for LSX detection</title>
<updated>2023-07-28T02:40:01Z</updated>
<author>
<name>Xi Ruoyao</name>
<email>xry111@xry111.site</email>
</author>
<published>2023-07-21T02:07:04Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=d64d53a65498c5bd1ba268e733fb6e10ec4f7144'/>
<id>urn:sha1:d64d53a65498c5bd1ba268e733fb6e10ec4f7144</id>
<content type='text'>
Running LSX instructions requires both the hardware support and the
kernel support.  The `cpucfg` instruction only tests the hardware
support, causing a SIGILL if the hardware supports LSX but the kernel
does not.

Use `getauxval(AT_HWCAP)` as the ["Software Development and Build
Convention for LoongArch Architectures"][1] manual suggests.

The LOONGARCH_HWCAP_LSX and LOONGARCH_HWCAP_LASX bits are copied from
the manual too.  In Glibc 2.38 they'll be provided by &lt;sys/auxv.h&gt; as
well, but they are unavailable in earlier Glibc versions so we cannot
rely on it.

The getauxval syscall and Glibc wrapper are available since day one
(Linux-5.19 and Glibc-2.36) for LoongArch.

Fixes #21508.

[1]:https://github.com/loongson/la-softdev-convention/blob/master/la-softdev-convention.adoc#kernel-constraints

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Tom Cosgrove &lt;tom.cosgrove@arm.com&gt;
Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/21509)

(cherry picked from commit c612289b77c37f7295d5af0d0e6b6c04e6ba727c)
</content>
</entry>
<entry>
<title>Correct spelling of database</title>
<updated>2023-07-27T14:17:48Z</updated>
<author>
<name>Fatih Arslan Tugay</name>
<email>fatiharslantugay@gmail.com</email>
</author>
<published>2023-07-24T12:34:08Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=4c1fc2c3ecb41b024ddafcb34210955d8ddfc684'/>
<id>urn:sha1:4c1fc2c3ecb41b024ddafcb34210955d8ddfc684</id>
<content type='text'>
Apply normal sentence case to db update message

CLA: trivial

Reviewed-by: Hugo Landau &lt;hlandau@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
Reviewed-by: Tom Cosgrove &lt;tom.cosgrove@arm.com&gt;
Reviewed-by: Todd Short &lt;todd.short@me.com&gt;
(Merged from https://github.com/openssl/openssl/pull/21535)

(cherry picked from commit ccb2f3080d84a271f17458a60e0d7ccd77929e95)
</content>
</entry>
<entry>
<title>Add CHANGES.md and NEWS.md entries for CVE-2023-3817</title>
<updated>2023-07-27T13:54:28Z</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.org</email>
</author>
<published>2023-07-25T13:35:34Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=fb54f415b9981adebb03997304ac77d4d0cc520a'/>
<id>urn:sha1:fb54f415b9981adebb03997304ac77d4d0cc520a</id>
<content type='text'>
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
Reviewed-by: Tom Cosgrove &lt;tom.cosgrove@arm.com&gt;
Reviewed-by: Todd Short &lt;todd.short@me.com&gt;
(Merged from https://github.com/openssl/openssl/pull/21550)

(cherry picked from commit 4b29762802c05fa871f0e1efcf804e86db0ddaa2)
</content>
</entry>
<entry>
<title>dhtest.c: Add test of DH_check() with q = p + 1</title>
<updated>2023-07-27T13:54:20Z</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.org</email>
</author>
<published>2023-07-25T13:23:43Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=1478ffad3f123550ec1014642d5c880dfbe270ef'/>
<id>urn:sha1:1478ffad3f123550ec1014642d5c880dfbe270ef</id>
<content type='text'>
This must fail with DH_CHECK_INVALID_Q_VALUE and
with DH_CHECK_Q_NOT_PRIME unset.

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
Reviewed-by: Tom Cosgrove &lt;tom.cosgrove@arm.com&gt;
Reviewed-by: Todd Short &lt;todd.short@me.com&gt;
(Merged from https://github.com/openssl/openssl/pull/21550)

(cherry picked from commit ad5d35572695d7b5748b2bd4fb1afaa189b29e28)
</content>
</entry>
<entry>
<title>DH_check(): Do not try checking q properties if it is obviously invalid</title>
<updated>2023-07-27T13:54:09Z</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.org</email>
</author>
<published>2023-07-25T13:22:48Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=6a1eb62c29db6cb5eec707f9338aee00f44e26f5'/>
<id>urn:sha1:6a1eb62c29db6cb5eec707f9338aee00f44e26f5</id>
<content type='text'>
If  |q| &gt;= |p| then the q value is obviously wrong as q
is supposed to be a prime divisor of p-1.

We check if p is overly large so this added test implies that
q is not large either when performing subsequent tests using that
q value.

Otherwise if it is too large these additional checks of the q value
such as the primality test can then trigger DoS by doing overly long
computations.

Fixes CVE-2023-3817

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
Reviewed-by: Tom Cosgrove &lt;tom.cosgrove@arm.com&gt;
Reviewed-by: Todd Short &lt;todd.short@me.com&gt;
(Merged from https://github.com/openssl/openssl/pull/21550)

(cherry picked from commit 1c16253f3c3a8d1e25918c3f404aae6a5b0893de)
</content>
</entry>
<entry>
<title>Make DH_check set some error bits in recently added error</title>
<updated>2023-07-26T11:19:53Z</updated>
<author>
<name>Bernd Edlinger</name>
<email>bernd.edlinger@hotmail.de</email>
</author>
<published>2023-07-23T12:27:54Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=06bbee97aaa6b1998d05e03825a750f40fc836ea'/>
<id>urn:sha1:06bbee97aaa6b1998d05e03825a750f40fc836ea</id>
<content type='text'>
The pre-existing error cases where DH_check returned zero
are not related to the dh params in any way, but are only
triggered by out-of-memory errors, therefore having *ret
set to zero feels right, but since the new error case is
triggered by too large p values that is something different.
On the other hand some callers of this function might not
be prepared to handle the return value correctly but only
rely on *ret. Therefore we set some error bits in *ret as
additional safety measure.

Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/21524)

(cherry picked from commit 81d10e61a4b7d5394d08a718bf7d6bae20e818fc)
</content>
</entry>
</feed>
