<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl, branch OpenSSL_1_1_1e</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=OpenSSL_1_1_1e</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=OpenSSL_1_1_1e'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2020-03-17T14:31:17Z</updated>
<entry>
<title>Prepare for 1.1.1e release</title>
<updated>2020-03-17T14:31:17Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2020-03-17T14:31:17Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=a61eba4814fb748ad67e90e81c005ffb09b67d3d'/>
<id>urn:sha1:a61eba4814fb748ad67e90e81c005ffb09b67d3d</id>
<content type='text'>
Reviewed-by: Paul Yang &lt;kaishen.yy@antfin.com&gt;
</content>
</entry>
<entry>
<title>Update copyright year</title>
<updated>2020-03-17T13:59:29Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2020-03-17T13:59:29Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=e7ff223a20697e5a401d2d9bb7a75e699ed46633'/>
<id>urn:sha1:e7ff223a20697e5a401d2d9bb7a75e699ed46633</id>
<content type='text'>
Reviewed-by: Paul Yang &lt;kaishen.yy@antfin.com&gt;
(Merged from https://github.com/openssl/openssl/pull/11344)
</content>
</entry>
<entry>
<title>Update CHANGES for the new release</title>
<updated>2020-03-17T13:43:08Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2020-03-17T11:24:20Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=48a09ebc273f98380a7578c4243adc0e14f8f2db'/>
<id>urn:sha1:48a09ebc273f98380a7578c4243adc0e14f8f2db</id>
<content type='text'>
Reviewed-by: Mark J. Cox &lt;mark@awe.com&gt;
(Merged from https://github.com/openssl/openssl/pull/11342)
</content>
</entry>
<entry>
<title>Update NEWS for the new release</title>
<updated>2020-03-17T13:43:08Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2020-03-17T10:11:28Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=5a77b55cdc142acad28b8e78db0d8990c0f48724'/>
<id>urn:sha1:5a77b55cdc142acad28b8e78db0d8990c0f48724</id>
<content type='text'>
Reviewed-by: Mark J. Cox &lt;mark@awe.com&gt;
(Merged from https://github.com/openssl/openssl/pull/11342)
</content>
</entry>
<entry>
<title>sslapitest: don't leak the SSL_CTX pair</title>
<updated>2020-03-17T10:00:35Z</updated>
<author>
<name>Ben Kaduk</name>
<email>kaduk@mit.edu</email>
</author>
<published>2020-03-16T18:02:14Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=19599138463e910a9ee4cfa122e941752491ffc3'/>
<id>urn:sha1:19599138463e910a9ee4cfa122e941752491ffc3</id>
<content type='text'>
We have no need for a new set of SSL_CTXs in test_ccs_change_cipher(), so
just keep using the original ones.  Also, fix a typo in a comment.

[extended tests]

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/11336)

(cherry picked from commit b3e6d666e351d45e93d29fe3813245b92a0f5815)
</content>
</entry>
<entry>
<title>Add test that changes ciphers on CCS</title>
<updated>2020-03-13T23:12:18Z</updated>
<author>
<name>Benjamin Kaduk</name>
<email>bkaduk@akamai.com</email>
</author>
<published>2020-03-06T21:19:45Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=2f0dab7e59cc50c89b6d54962b81cf96c30fe725'/>
<id>urn:sha1:2f0dab7e59cc50c89b6d54962b81cf96c30fe725</id>
<content type='text'>
The TLS (pre-1.3) ChangeCipherState message is usually used to indicate
the switch from the unencrypted to encrypted part of the handshake.
However, it can also be used in cases where there is an existing
session (such as during resumption handshakes) or when changing from
one cipher to a different one (such as during renegotiation when the
cipher list offered by the client has changed).  This test serves
to exercise such situations, allowing us to detect whether session
objects are being modified in cases when they must remain immutable
for thread-safety purposes.

Reviewed-by: Tomas Mraz &lt;tmraz@fedoraproject.org&gt;
(Merged from https://github.com/openssl/openssl/pull/10943)

(cherry picked from commit 3cd14e5e65011660ad8e3603cf871c8366b565fd)
</content>
</entry>
<entry>
<title>Code to thread-safety in ChangeCipherState</title>
<updated>2020-03-13T23:11:45Z</updated>
<author>
<name>Benjamin Kaduk</name>
<email>bkaduk@akamai.com</email>
</author>
<published>2020-01-24T21:44:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=44bad9cbf7daa5ff7dd201e0c61e684b2e2eb971'/>
<id>urn:sha1:44bad9cbf7daa5ff7dd201e0c61e684b2e2eb971</id>
<content type='text'>
The server-side ChangeCipherState processing stores the new cipher
in the SSL_SESSION object, so that the new state can be used if
this session gets resumed.  However, writing to the session is only
thread-safe for initial handshakes, as at other times the session
object may be in a shared cache and in use by another thread at the
same time.  Reflect this invariant in the code by only writing to
s-&gt;session-&gt;cipher when it is currently NULL (we do not cache sessions
with no cipher).  The code prior to this change would never actually
change the (non-NULL) cipher value in a session object, since our
server enforces that (pre-TLS-1.3) resumptions use the exact same
cipher as the initial connection, and non-abbreviated renegotiations
have produced a new session object before we get to this point.
Regardless, include logic to detect such a condition and abort the
handshake if it occurs, to avoid any risk of inadvertently using
the wrong cipher on a connection.

Reviewed-by: Tomas Mraz &lt;tmraz@fedoraproject.org&gt;
(Merged from https://github.com/openssl/openssl/pull/10943)

(cherry picked from commit 2e3ec2e1578977fca830a47fd7f521e290540e6d)
</content>
</entry>
<entry>
<title>Don't write to the session when computing TLS 1.3 keys</title>
<updated>2020-03-13T22:55:51Z</updated>
<author>
<name>Benjamin Kaduk</name>
<email>bkaduk@akamai.com</email>
</author>
<published>2020-01-24T21:25:53Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=910c8ffaf83a498667c10a28580dc18cbfd643c5'/>
<id>urn:sha1:910c8ffaf83a498667c10a28580dc18cbfd643c5</id>
<content type='text'>
TLS 1.3 maintains a separate keys chedule in the SSL object, but
was writing to the 'master_key_length' field in the SSL_SESSION
when generating the per-SSL master_secret.  (The generate_master_secret
SSL3_ENC_METHOD function needs an output variable for the master secret
length, but the TLS 1.3 implementation just uses the output size of
the handshake hash function to get the lengths, so the only natural-looking
thing to use as the output length was the field in the session.
This would potentially involve writing to a SSL_SESSION object that was
in the cache (i.e., resumed) and shared with other threads, though.

The thread-safety impact should be minimal, since TLS 1.3 requires the
hash from the original handshake to be associated with the resumption
PSK and used for the subsequent connection.  This means that (in the
resumption case) the value being written would be the same value that was
previously there, so the only risk would be on architectures that can
produce torn writes/reads for aligned size_t values.

Since the value is essentially ignored anyway, just provide the
address of a local dummy variable to generate_master_secret() instead.

Reviewed-by: Tomas Mraz &lt;tmraz@fedoraproject.org&gt;
(Merged from https://github.com/openssl/openssl/pull/10943)

(cherry picked from commit d74014c4b8740f28a54b562f799ad1e754b517b9)
</content>
</entry>
<entry>
<title>Fix whitespace nit in ssl_generate_master_secret()</title>
<updated>2020-03-13T22:55:50Z</updated>
<author>
<name>Benjamin Kaduk</name>
<email>bkaduk@akamai.com</email>
</author>
<published>2020-01-24T21:25:02Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=a666af9f9df20c466ff5b5554610b5460cf3a362'/>
<id>urn:sha1:a666af9f9df20c466ff5b5554610b5460cf3a362</id>
<content type='text'>
Use a space after a comma.

Reviewed-by: Tomas Mraz &lt;tmraz@fedoraproject.org&gt;
(Merged from https://github.com/openssl/openssl/pull/10943)

(cherry picked from commit 1866a0d380fc361d9be2ca0509de0f2281505db5)
</content>
</entry>
<entry>
<title>doc: fix spelling of TYPE_get_ex_new_index</title>
<updated>2020-03-13T22:55:50Z</updated>
<author>
<name>Benjamin Kaduk</name>
<email>bkaduk@akamai.com</email>
</author>
<published>2020-01-17T19:15:59Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=cf900cbc5c32bfd31a1d3d68a2bd94368a35aafe'/>
<id>urn:sha1:cf900cbc5c32bfd31a1d3d68a2bd94368a35aafe</id>
<content type='text'>
The generated macros are TYPE_get_ex_new_index() (to match
CRYPTO_get_ex_new_index()), not TYPE_get_new_ex_index(), even though
the latter spelling seems more natural.

Reviewed-by: Tomas Mraz &lt;tmraz@fedoraproject.org&gt;
(Merged from https://github.com/openssl/openssl/pull/10943)

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