<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules/_ssl.c, branch fix-namedexpr-comment</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-38820: OpenSSL 3.0.0 compatibility. (GH-17190)</title>
<updated>2019-12-07T16:59:36+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2019-12-07T16:59:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2b7de6696bf2f924cd2cd9ff0a539c8aa37c6244'/>
<id>2b7de6696bf2f924cd2cd9ff0a539c8aa37c6244</id>
<content type='text'>
test_openssl_version now accepts version 3.0.0.

getpeercert() no longer returns IPv6 addresses with a trailing new line.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;


https://bugs.python.org/issue38820</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
test_openssl_version now accepts version 3.0.0.

getpeercert() no longer returns IPv6 addresses with a trailing new line.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;


https://bugs.python.org/issue38820</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37206: Unrepresentable default values no longer represented as None. (GH-13933)</title>
<updated>2019-09-14T09:24:05+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-09-14T09:24:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=279f44678c8b84a183f9eeb85e0b086228154497'/>
<id>279f44678c8b84a183f9eeb85e0b086228154497</id>
<content type='text'>
In ArgumentClinic, value "NULL" should now be used only for unrepresentable default values
(like in the optional third parameter of getattr). "None" should be used if None is accepted
as argument and passing None has the same effect as not passing the argument at all.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In ArgumentClinic, value "NULL" should now be used only for unrepresentable default values
(like in the optional third parameter of getattr). "None" should be used if None is accepted
as argument and passing None has the same effect as not passing the argument at all.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35941: Fix performance regression in new code (GH-12610)</title>
<updated>2019-09-09T16:06:55+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2019-09-09T16:06:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=915cd3f0696cb8a7206754a8fc34d4cd865a1b4a'/>
<id>915cd3f0696cb8a7206754a8fc34d4cd865a1b4a</id>
<content type='text'>
Accumulate certificates in a set instead of doing a costly list contain
operation. A Windows cert store can easily contain over hundred
certificates. The old code would result in way over 5,000 comparison
operations

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Accumulate certificates in a set instead of doing a costly list contain
operation. A Windows cert store can easily contain over hundred
certificates. The old code would result in way over 5,000 comparison
operations

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37702: Fix SSL's certificate-store leak on Windows (GH-15632)</title>
<updated>2019-09-09T12:33:43+00:00</updated>
<author>
<name>neonene</name>
<email>53406459+neonene@users.noreply.github.com</email>
</author>
<published>2019-09-09T12:33:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ed70129e15ea028469145111044a4349960a4e6f'/>
<id>ed70129e15ea028469145111044a4349960a4e6f</id>
<content type='text'>
ssl_collect_certificates function in _ssl.c has a memory leak.
Calling CertOpenStore() and CertAddStoreToCollection(), a store's refcnt gets incremented by 2.
But CertCloseStore() is called only once and the refcnt leaves 1.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ssl_collect_certificates function in _ssl.c has a memory leak.
Calling CertOpenStore() and CertAddStoreToCollection(), a store's refcnt gets incremented by 2.
But CertCloseStore() is called only once and the refcnt leaves 1.</pre>
</div>
</content>
</entry>
<entry>
<title>Replace usage of the obscure PEM_read_bio_X509_AUX with the more standard PEM_read_bio_X509 (GH-15303)</title>
<updated>2019-08-15T12:31:28+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2019-08-15T12:31:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=40dad9545aad4ede89abbab1c1beef5303d9573e'/>
<id>40dad9545aad4ede89abbab1c1beef5303d9573e</id>
<content type='text'>
X509_AUX is an odd, note widely used, OpenSSL extension to the X509 file format. This function doesn't actually use any of the extra metadata that it parses, so just use the standard API.

Automerge-Triggered-By: @tiran</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
X509_AUX is an odd, note widely used, OpenSSL extension to the X509 file format. This function doesn't actually use any of the extra metadata that it parses, so just use the standard API.

Automerge-Triggered-By: @tiran</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37648: Fixed minor inconsistency in some __contains__. (GH-14904)</title>
<updated>2019-08-04T11:12:48+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-08-04T11:12:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=18b711c5a7f90d88fb74748f18fa8ef49d8486c7'/>
<id>18b711c5a7f90d88fb74748f18fa8ef49d8486c7</id>
<content type='text'>
The collection's item is now always at the left and
the needle is on the right of ==.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The collection's item is now always at the left and
the needle is on the right of ==.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37120: Fix _ssl get_num_tickets() (GH-14668)</title>
<updated>2019-07-09T11:30:52+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-07-09T11:30:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=76611c7c0af6b2f4d0d98a5db827d34cff54ce25'/>
<id>76611c7c0af6b2f4d0d98a5db827d34cff54ce25</id>
<content type='text'>
Replace PyLong_FromLong() with PyLong_FromSize_t():
SSL_CTX_get_num_tickets() return type is size_t.


https://bugs.python.org/issue37120</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace PyLong_FromLong() with PyLong_FromSize_t():
SSL_CTX_get_num_tickets() return type is size_t.


https://bugs.python.org/issue37120</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37428: Don't set PHA verify flag on client side (GH-14421)</title>
<updated>2019-07-01T06:29:17+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2019-07-01T06:29:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f0f5930ac88482ef896283db5be9b8d508d077db'/>
<id>f0f5930ac88482ef896283db5be9b8d508d077db</id>
<content type='text'>
SSLContext.post_handshake_auth = True no longer sets
SSL_VERIFY_POST_HANDSHAKE verify flag for client connections. Although the
option is documented as ignored for clients, OpenSSL implicitly enables cert
chain validation when the flag is set.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;



https://bugs.python.org/issue37428</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SSLContext.post_handshake_auth = True no longer sets
SSL_VERIFY_POST_HANDSHAKE verify flag for client connections. Although the
option is documented as ignored for clients, OpenSSL implicitly enables cert
chain validation when the flag is set.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;



https://bugs.python.org/issue37428</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37120: Add SSLContext.num_tickets (GH-13719)</title>
<updated>2019-06-03T19:00:10+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2019-06-03T19:00:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=78c7d527799dacca91b9ed67057cb996efe526b0'/>
<id>78c7d527799dacca91b9ed67057cb996efe526b0</id>
<content type='text'>
Signed-off-by: Christian Heimes &lt;christian@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Christian Heimes &lt;christian@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34271: Add ssl debugging helpers (GH-10031)</title>
<updated>2019-05-31T09:44:05+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2019-05-31T09:44:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c7f7069e77c58e83b847c0bfe4d5aadf6add2e68'/>
<id>c7f7069e77c58e83b847c0bfe4d5aadf6add2e68</id>
<content type='text'>
The ssl module now can dump key material to a keylog file and trace TLS
protocol messages with a tracing callback. The default and stdlib
contexts also support SSLKEYLOGFILE env var.

The msg_callback and related enums are private members. The feature
is designed for internal debugging and not for end users.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ssl module now can dump key material to a keylog file and trace TLS
protocol messages with a tracing callback. The default and stdlib
contexts also support SSLKEYLOGFILE env var.

The msg_callback and related enums are private members. The feature
is designed for internal debugging and not for end users.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
