<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/_ssl.c, branch 2.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_ssl.c?h=2.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_ssl.c?h=2.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2019-09-11T17:23:28Z</updated>
<entry>
<title>[2.7] bpo-35264: Modules/_ssl.c: fix build with OpenSSL 1.1.0 (GH-10570)</title>
<updated>2019-09-11T17:23:28Z</updated>
<author>
<name>Alexandru Ardelean</name>
<email>ardeleanalex@gmail.com</email>
</author>
<published>2019-09-11T17:23:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0d63669e52dd7e95708ec14e9e3e07d7dc9cd913'/>
<id>urn:sha1:0d63669e52dd7e95708ec14e9e3e07d7dc9cd913</id>
<content type='text'>
Fixes a build error with OpenSSL 1.1.0. There is already code in the
`_ssl.c` that handles all the weird cases of the NPN config macros (with
various OpenSSL &amp; LibreSSL versions).
That code will provide a HAVE_NPN variable, which should be used in the
rest of the code to check whether (or what) to compile regarding NPN.

This change adds HAVE_NPN in the remaining places where it should have been
placed.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;


https://bugs.python.org/issue35264</content>
</entry>
<entry>
<title>[2.7] bpo-32947: Fixes for TLS 1.3 and OpenSSL 1.1.1 (GH-8761) (GH-11876)</title>
<updated>2019-02-15T17:27:44Z</updated>
<author>
<name>stratakis</name>
<email>cstratak@redhat.com</email>
</author>
<published>2019-02-15T17:27:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2149a9ad7a9d39d7d680ec0fb602042c91057484'/>
<id>urn:sha1:2149a9ad7a9d39d7d680ec0fb602042c91057484</id>
<content type='text'>
Backport of TLS 1.3 related fixes from 3.7.

Misc fixes and workarounds for compatibility with OpenSSL 1.1.1 from git
master and TLS 1.3 support. With OpenSSL 1.1.1, Python negotiates TLS 1.3 by
default. Some test cases only apply to TLS 1.2.

OpenSSL 1.1.1 has added a new option OP_ENABLE_MIDDLEBOX_COMPAT for TLS
1.3. The feature is enabled by default for maximum compatibility with
broken middle boxes. Users should be able to disable the hack and CPython's test suite needs
it to verify default options

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;
(cherry picked from commit 2a4ee8aa01d61b6a9c8e9c65c211e61bdb471826)</content>
</entry>
<entry>
<title>[2.7] bpo-28043: improved default settings for SSLContext (GH-10608)</title>
<updated>2019-02-15T14:24:11Z</updated>
<author>
<name>stratakis</name>
<email>cstratak@redhat.com</email>
</author>
<published>2019-02-15T14:24:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b8eaec697a2b5d9d2def2950a0aa50e8ffcf1059'/>
<id>urn:sha1:b8eaec697a2b5d9d2def2950a0aa50e8ffcf1059</id>
<content type='text'>
The options OP_NO_COMPRESSION, OP_CIPHER_SERVER_PREFERENCE,
OP_SINGLE_DH_USE, OP_SINGLE_ECDH_USE, OP_NO_SSLv2 (except
for PROTOCOL_SSLv2), and OP_NO_SSLv3 (except for PROTOCOL_SSLv3)
are set by default. The initial cipher suite list contains only
HIGH ciphers, no NULL ciphers and MD5 ciphers (except for PROTOCOL_SSLv2).

(cherry picked from commit 358cfd426ccc0fcd6a7940d306602138e76420ae)</content>
</entry>
<entry>
<title>bpo-35746: Fix segfault in ssl's cert parser (GH-11569)</title>
<updated>2019-01-15T23:11:52Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-01-15T23:11:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=06b15424b0dcacb1c551b2a36e739fffa8d0c595'/>
<id>urn:sha1:06b15424b0dcacb1c551b2a36e739fffa8d0c595</id>
<content type='text'>
Fix a NULL pointer deref in ssl module. The cert parser did not handle CRL
distribution points with empty DP or URI correctly. A malicious or buggy
certificate can result into segfault.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

https://bugs.python.org/issue35746
(cherry picked from commit a37f52436f9aa4b9292878b72f3ff1480e2606c3)

Co-authored-by: Christian Heimes &lt;christian@python.org&gt;</content>
</entry>
<entry>
<title>[2.7] bpo-34710: fix SSL module build (GH-9347) (GH-9353)</title>
<updated>2018-09-17T13:42:30Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2018-09-17T13:42:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5f883fcb9b50b8335953b3849b7f224d5cd59d56'/>
<id>urn:sha1:5f883fcb9b50b8335953b3849b7f224d5cd59d56</id>
<content type='text'>
Include ``openssl/dh.h`` header file to fix implicit function declaration of ``DH_free()``.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;.
(cherry picked from commit b3a271fc0ce3e13e427be8914decfc205a220ca8)

Co-authored-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;



https://bugs.python.org/issue34710</content>
</entry>
<entry>
<title>[2.7] bpo-33127: Compatibility patch for LibreSSL 2.7.0 (GH-6210) (GH-6215)</title>
<updated>2018-03-24T18:34:15Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2018-03-24T18:34:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=edd541897b9c28ee0d0f0131746aa5f19665a104'/>
<id>urn:sha1:edd541897b9c28ee0d0f0131746aa5f19665a104</id>
<content type='text'>
LibreSSL 2.7 introduced OpenSSL 1.1.0 API. The ssl module now detects
LibreSSL 2.7 and only provides API shims for OpenSSL &lt; 1.1.0 and
LibreSSL &lt; 2.7.

Documentation updates and fixes for failing tests will be provided in
another patch set.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;.
(cherry picked from commit 4ca0739c9d97ac7cd45499e0d31be68dc659d0e1)

Co-authored-by: Christian Heimes &lt;christian@python.org&gt;</content>
</entry>
<entry>
<title>[2.7] bpo-30622: Fix NPN for OpenSSL 1.1.1-pre1 (GH-5876) (#5882)</title>
<updated>2018-02-25T13:28:55Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2018-02-25T13:28:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=df1732a4734190fefc8814687895fc1168716c37'/>
<id>urn:sha1:df1732a4734190fefc8814687895fc1168716c37</id>
<content type='text'>
Signed-off-by: Christian Heimes &lt;christian@python.org&gt;.
(cherry picked from commit 29eab55309b9f78b79074d26db16a44e7841c639)

Co-authored-by: Christian Heimes &lt;christian@python.org&gt;</content>
</entry>
<entry>
<title>Fix ssl module, Python 2.7 doesn't have Py_MAX (#5878)</title>
<updated>2018-02-25T12:08:05Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2018-02-25T12:08:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=439956a149f8a3eb44646498c63b2ef3337d5f3d'/>
<id>urn:sha1:439956a149f8a3eb44646498c63b2ef3337d5f3d</id>
<content type='text'>
Signed-off-by: Christian Heimes &lt;christian@python.org&gt;</content>
</entry>
<entry>
<title>[2.7] bpo-30622: Improve NPN support detection (GH-5859) (#5863)</title>
<updated>2018-02-25T09:21:03Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2018-02-25T09:21:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3d87f4cf9c19da9fe8ae8f91f5bb86e642b74a50'/>
<id>urn:sha1:3d87f4cf9c19da9fe8ae8f91f5bb86e642b74a50</id>
<content type='text'>
The ssl module now detects missing NPN support in LibreSSL.

Co-Authored-By: Bernard Spil &lt;brnrd@FreeBSD.org&gt;
Signed-off-by: Christian Heimes &lt;christian@python.org&gt;.
(cherry picked from commit 6cdb7954b0a578d899e4b78b868ea59eef08480a)

Co-authored-by: Christian Heimes &lt;christian@python.org&gt;</content>
</entry>
<entry>
<title>[2.7] bpo-32185: Don't send IP in SNI TLS extension (GH-5865) (#5871)</title>
<updated>2018-02-25T09:16:37Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-02-25T09:16:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a5c9112300ecd492ed6cc9759dc8028766401f61'/>
<id>urn:sha1:a5c9112300ecd492ed6cc9759dc8028766401f61</id>
<content type='text'>
The SSL module no longer sends IP addresses in SNI TLS extension on
platforms with OpenSSL 1.0.2+ or inet_pton.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;
(cherry picked from commit e9370a47389903bb72badc95032ec84a0ebbf8cc)

Co-authored-by: Christian Heimes &lt;christian@python.org&gt;</content>
</entry>
</feed>
