<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/ssl, branch OpenSSL_1_0_2k</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=OpenSSL_1_0_2k</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=OpenSSL_1_0_2k'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2017-01-26T10:56:29Z</updated>
<entry>
<title>Better check of DH parameters in TLS data</title>
<updated>2017-01-26T10:56:29Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2017-01-26T10:47:36Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=918d8eadb35746456fd1a9d4e219c63ff706173e'/>
<id>urn:sha1:918d8eadb35746456fd1a9d4e219c63ff706173e</id>
<content type='text'>
When the client reads DH parameters from the TLS stream, we only
checked that they all are non-zero.  This change updates the check
as follows:

    check that p is odd
    check that 1 &lt; g &lt; p - 1

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
</content>
</entry>
<entry>
<title>Fix a ssl session leak due to OOM in lh_SSL_SESSION_insert</title>
<updated>2017-01-24T14:07:33Z</updated>
<author>
<name>Bernd Edlinger</name>
<email>bernd.edlinger@hotmail.de</email>
</author>
<published>2016-12-22T19:17:29Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=cb00d4ff17eae9c4e489409f5d12bff76c110be1'/>
<id>urn:sha1:cb00d4ff17eae9c4e489409f5d12bff76c110be1</id>
<content type='text'>
- s == NULL can mean c is a new session *or* lh_insert was
  unable to create a hash entry.
- use lh_SSL_SESSION_retrieve to check for this error condition.
- If it happens simply remove the extra reference again.

Reviewed-by: Rich Salz &lt;rsalz@openssl.org&gt;
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/2138)
(cherry picked from commit 38088ce9934a90d4aea486edbff864f3935342e6)
</content>
</entry>
<entry>
<title>Fix SSL_VERIFY_CLIENT_ONCE</title>
<updated>2017-01-23T14:13:14Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2016-11-22T17:37:34Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=e203f493f6387ab14c3b4d9c1b668e9d199e8ec3'/>
<id>urn:sha1:e203f493f6387ab14c3b4d9c1b668e9d199e8ec3</id>
<content type='text'>
The flag SSL_VERIFY_CLIENT_ONCE is documented as follows:

  B&lt;Server mode:&gt; only request a client certificate on the initial TLS/SSL
  handshake. Do not ask for a client certificate again in case of a
  renegotiation. This flag must be used together with SSL_VERIFY_PEER.

  B&lt;Client mode:&gt; ignored

But the implementation actually did nothing. After the server sends its
ServerKeyExchange message, the code was checking s-&gt;session-&gt;peer to see if
it is NULL. If it was set then it did not ask for another client
certificate. However s-&gt;session-&gt;peer will only be set in the event of a
resumption, but a ServerKeyExchange message is only sent in the event of a
full handshake (i.e. no resumption).

The documentation suggests that the original intention was for this to
have an effect on renegotiation, and resumption doesn't come into it.

The fix is to properly check for renegotiation, not whether there is already
a client certificate in the session.

As far as I can tell this has been broken for a *long* time.

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/1984)</content>
</entry>
<entry>
<title>Fix error handling in SSL_CTX_new</title>
<updated>2017-01-10T21:34:17Z</updated>
<author>
<name>Bernd Edlinger</name>
<email>bernd.edlinger@hotmail.de</email>
</author>
<published>2016-12-22T09:12:03Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=0ecb682a674c69caee4b8da1c08d23305f484cd8'/>
<id>urn:sha1:0ecb682a674c69caee4b8da1c08d23305f484cd8</id>
<content type='text'>
Dont free rbuf_freelist here, SSL_CTX_free will do that.

Signed-off-by: Kurt Roeckx &lt;kurt@roeckx.be&gt;
Reviewed-by: Rich Salz &lt;rsalz@openssl.org&gt;
GH: #2129
</content>
</entry>
<entry>
<title>zero pad DHE public key in ServerKeyExchange message for interop</title>
<updated>2016-12-14T17:52:44Z</updated>
<author>
<name>russor</name>
<email>russor@whatsapp.com</email>
</author>
<published>2016-07-25T20:11:28Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=5bbedd3cc1d380595a6cc459e6546bb649f16a0b'/>
<id>urn:sha1:5bbedd3cc1d380595a6cc459e6546bb649f16a0b</id>
<content type='text'>
Some versions of the Microsoft TLS stack have problems when the DHE public key
is encoded with fewer bytes than the DHE prime. (Backported from master)

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Rich Salz &lt;rsalz@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/1350)</content>
</entry>
<entry>
<title>Fix ssl_cert_dup: change one 'return NULL' to 'goto err'</title>
<updated>2016-12-14T13:19:01Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2016-12-14T13:10:33Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=70705b291cbc496f1d70e4429cc54018e8113f08'/>
<id>urn:sha1:70705b291cbc496f1d70e4429cc54018e8113f08</id>
<content type='text'>
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/2082)</content>
</entry>
<entry>
<title>Make 'err' lable in ssl_cert_dup unconditional</title>
<updated>2016-12-14T13:19:01Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2016-12-14T12:51:01Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=3b584efe91ea55e7752819b4631448c4faab5988'/>
<id>urn:sha1:3b584efe91ea55e7752819b4631448c4faab5988</id>
<content type='text'>
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/2082)</content>
</entry>
<entry>
<title>Fix a bug in clienthello processing</title>
<updated>2016-12-13T14:41:20Z</updated>
<author>
<name>Benjamin Kaduk</name>
<email>bkaduk@akamai.com</email>
</author>
<published>2016-07-22T14:55:48Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=292bb56846ad78ac7b68a00c92153c0c9471665b'/>
<id>urn:sha1:292bb56846ad78ac7b68a00c92153c0c9471665b</id>
<content type='text'>
- Always process ALPN (previously there was an early return in the
  certificate status handling)

1.0.2 did not have the double-alert issue from master, but it seems
cleanest to pull in the structural change to alert handling anyway
and jump to f_err instead of err to send the alert in the caller.

(cherry picked from commit 70c22888c1648fe8652e77107f3c74bf2212de36)

Reviewed-by: Emilia Käsper &lt;emilia@openssl.org&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
</content>
</entry>
<entry>
<title>Revert "Fix heartbeat_test"</title>
<updated>2016-11-29T09:54:58Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2016-11-28T09:41:42Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=748a2d94c07c3f3c360357db6d3299a4828bc068'/>
<id>urn:sha1:748a2d94c07c3f3c360357db6d3299a4828bc068</id>
<content type='text'>
Commit fa4c37457 got reverted, so this one also needs to be reverted as
a result.

This reverts commit ad69a30323cbc6723c2387d6ce546a51b10c42d0.

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
</content>
</entry>
<entry>
<title>Make SSL_read and SSL_write return the old behaviour and document it.</title>
<updated>2016-11-21T21:00:43Z</updated>
<author>
<name>Kurt Roeckx</name>
<email>kurt@roeckx.be</email>
</author>
<published>2016-11-15T17:58:52Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=31b430700af6c2974ead8bdbe02c6f11de81debd'/>
<id>urn:sha1:31b430700af6c2974ead8bdbe02c6f11de81debd</id>
<content type='text'>
Backport of beacb0f0c1ae7b0542fe053b95307f515b578eb7, revert of
fa4c374572e94f467900f5820cd1d00af2470a17

Fixes: #1903

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;

GH: #1967
</content>
</entry>
</feed>
