<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/ssl, branch OpenSSL_1_1_1o</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=OpenSSL_1_1_1o</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=OpenSSL_1_1_1o'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2022-05-03T12:38:37Z</updated>
<entry>
<title>Update copyright year</title>
<updated>2022-05-03T12:38:37Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2022-05-03T10:54:12Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=b5b37553bcf9b90a5be5d8ed573b377d1766bd95'/>
<id>urn:sha1:b5b37553bcf9b90a5be5d8ed573b377d1766bd95</id>
<content type='text'>
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Release: yes
</content>
</entry>
<entry>
<title>Fix an assertion in the DTLS server code</title>
<updated>2022-04-14T14:18:29Z</updated>
<author>
<name>Bernd Edlinger</name>
<email>bernd.edlinger@hotmail.de</email>
</author>
<published>2022-04-11T08:12:48Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=564a8d442cbd8ce68d452ff2e8a58c0aea6b0632'/>
<id>urn:sha1:564a8d442cbd8ce68d452ff2e8a58c0aea6b0632</id>
<content type='text'>
This fixes an internal error alert from the server and
an unexpected connection failure in the release version,
but a failed assertion and a server crash in the
debug version.

Reproduce this issue with a DTLS server/client like that:

./openssl s_server -dtls -mtu 1500
./openssl s_client -dtls -maxfraglen 512

In the debug version a crash happens in the Server now:

./openssl s_server -dtls -mtu 1500
Using default temp DH parameters
ACCEPT
ssl/statem/statem_dtls.c:269: OpenSSL internal error: Assertion failed: len == written
Aborted (core dumped)

While in the release version the handshake exceeds the
negotiated max fragment size, and fails because of this:

$ ./openssl s_server -dtls -mtu 1500
Using default temp DH parameters
ACCEPT
ERROR
4057152ADA7F0000:error:0A0000C2:SSL routines:do_dtls1_write:exceeds max fragment size:ssl/record/rec_layer_d1.c:826:
shutting down SSL
CONNECTION CLOSED

From the client's point of view the connection fails
with an Internal Error Alert:

$ ./openssl s_client -dtls -maxfraglen 512
Connecting to ::1
CONNECTED(00000003)
40B76343377F0000:error:0A000438:SSL routines:dtls1_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_d1.c:613:SSL alert number 80

and now the connection attempt fails unexpectedly.

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/18093)

(cherry picked from commit e915c3f5381cd38ebdc1824c3ba9896ea7160103)
</content>
</entry>
<entry>
<title>Fix a DTLS server hangup due to TLS13_AD_MISSING_EXTENSION</title>
<updated>2022-04-13T18:23:54Z</updated>
<author>
<name>Bernd Edlinger</name>
<email>bernd.edlinger@hotmail.de</email>
</author>
<published>2022-04-12T06:27:21Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=6e73a0a0bd608daecb8e2c1e46de9d1014194c84'/>
<id>urn:sha1:6e73a0a0bd608daecb8e2c1e46de9d1014194c84</id>
<content type='text'>
This causes the DTLS server to enter an error state:

./openssl s_server -dtls
./openssl s_client -dtls -maxfraglen 512 -sess_out s1.txt
[...]
Q
./openssl s_client -dtls -sess_in s1.txt
CONNECTED(00000003)
^C
./openssl s_client -dtls
CONNECTED(00000003)
140335537067840:error:14102410:SSL routines:dtls1_read_bytes:sslv3 alert handshake failure:ssl/record/rec_layer_d1.c:614:SSL alert number 40

At this point the dtls server needs to be restarted,
because verify_cookie_callback always fails, because
the previous cookie is checked against the current one.
The reason for this is not fully understood.

In wireshark we see the following each time:
c-&gt;s Client Hello (without cookie)
s-&gt;c Hello Verify Request (with new cookie)
s-&gt;c Alert (Level: Fatal, Description: Handshake Failure)
c-&gt;s Client Hello (echoes new cookie)

The client gives up when the Alert arrives.
The Alert is triggered because the server calls
verify_cookie_callback with the previous cookie,
although it just sent the current cookie in the
Hello Verify Request.

However this does only happen because no Alert message
is sent when the client re-connects the session with
the missing -maxfraglen option.

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/18094)
</content>
</entry>
<entry>
<title>err: get rid of err_free_strings_int()</title>
<updated>2022-04-09T21:06:27Z</updated>
<author>
<name>Dr. Matthias St. Pierre</name>
<email>matthias.st.pierre@ncp-e.com</email>
</author>
<published>2022-03-29T19:50:21Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=c1c7004e7fcddcbb767c47f8dc1831c4637d1b74'/>
<id>urn:sha1:c1c7004e7fcddcbb767c47f8dc1831c4637d1b74</id>
<content type='text'>
Even though the function is not part of the public api, it is not
entirely removed, in order to minimize the chance of breakage,
because it is exported from libcrypto. Instead, we keep a dummy
implementation.

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/17975)
</content>
</entry>
<entry>
<title>Fix usage of SSLfatal</title>
<updated>2022-03-30T14:18:37Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2022-03-30T13:49:24Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=3e8f70c30d84861fcd257a6e280dc49e104eb145'/>
<id>urn:sha1:3e8f70c30d84861fcd257a6e280dc49e104eb145</id>
<content type='text'>
A cherry-pick from the master branch incorrectly introduced a usage of
3 argument SSLfatal. In 1.1.1 the function code is also required.

Fixes #17999

Reviewed-by: Bernd Edlinger &lt;bernd.edlinger@hotmail.de&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
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/18000)
</content>
</entry>
<entry>
<title>tls_process_server_hello: Disallow repeated HRR</title>
<updated>2022-03-30T09:35:54Z</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.org</email>
</author>
<published>2022-03-22T11:34:07Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=fb67978a9eb076b23ddf17f6b95f697ed526c584'/>
<id>urn:sha1:fb67978a9eb076b23ddf17f6b95f697ed526c584</id>
<content type='text'>
Repeated HRR must be rejected.

Fixes #17934

Reviewed-by: Todd Short &lt;todd.short@me.com&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/17936)

(cherry picked from commit d204a50b898435fbf937316d5693008cebf62eef)
</content>
</entry>
<entry>
<title>ticket_lifetime_hint may exceed 1 week in TLSv1.3</title>
<updated>2022-03-25T17:24:05Z</updated>
<author>
<name>Todd Short</name>
<email>todd.short@me.com</email>
</author>
<published>2022-03-23T22:55:10Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=79dbd85fe27ebabc278417af64ab8e3eb43d2d40'/>
<id>urn:sha1:79dbd85fe27ebabc278417af64ab8e3eb43d2d40</id>
<content type='text'>
For TLSv1.3, limit ticket lifetime hint to 1 week per RFC8446

Fixes #17948

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Tim Hudson &lt;tjh@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/17952)

(cherry picked from commit 0089cc7f9d42f6e39872161199fb8b6a99da2492)
</content>
</entry>
<entry>
<title>Fix Coverity 1498611 &amp; 1498608: uninitialised read</title>
<updated>2022-03-23T00:08:03Z</updated>
<author>
<name>Pauli</name>
<email>pauli@openssl.org</email>
</author>
<published>2022-03-16T03:21:01Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=cd2471cd797ae5a6355814bb14a176af6a7d883f'/>
<id>urn:sha1:cd2471cd797ae5a6355814bb14a176af6a7d883f</id>
<content type='text'>
Reviewed-by: Shane Lontis &lt;shane.lontis@oracle.com&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/17893)

(cherry picked from commit 09134f183f76539aa1294adfef10fcc694e90267)
</content>
</entry>
<entry>
<title>print SSL session, fix build warnings on OpenBSD.</title>
<updated>2022-03-18T11:49:56Z</updated>
<author>
<name>David Carlier</name>
<email>devnexen@gmail.com</email>
</author>
<published>2022-03-16T23:21:58Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=0d9f48d079cbbe85c684c2215955c2a70b2d1c6b'/>
<id>urn:sha1:0d9f48d079cbbe85c684c2215955c2a70b2d1c6b</id>
<content type='text'>
time_t is a 64 bits type on this platform.

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/17917)

(cherry picked from commit 9362638b080e328ccab43f89048bed27bcf2f11d)
</content>
</entry>
<entry>
<title>Update copyright year</title>
<updated>2022-03-15T13:57:22Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2022-03-15T13:57:22Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=0c5bc96fb7f5f6a5f1ac3fa7709091ce463e510d'/>
<id>urn:sha1:0c5bc96fb7f5f6a5f1ac3fa7709091ce463e510d</id>
<content type='text'>
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
</content>
</entry>
</feed>
