]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-117310: Remove extra DECREF on "no ciphers" error path in `_ssl._SSLContext...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 28 Mar 2024 17:05:19 +0000 (18:05 +0100)
committerGitHub <noreply@github.com>
Thu, 28 Mar 2024 17:05:19 +0000 (10:05 -0700)
commit65a0923c708210f393e2dbf5b231ca09c4b045c7
tree1deab02d8100ee791dd9508d7241aa4d8d0e4b62
parentc703b7b54f60b25ed2b6dca1d7050315abc56210
[3.11] gh-117310: Remove extra DECREF on "no ciphers" error path in `_ssl._SSLContext` constructor (GH-117309) (GH-117318)

gh-117310: Remove extra DECREF on "no ciphers" error path in `_ssl._SSLContext` constructor (GH-117309)

Remove extra self DECREF on ssl "no ciphers" error path.

This doesn't come up in practice because nobody links against a broken
OpenSSL library that provides nothing.
(cherry picked from commit 8cb7d7ff86a1a2d41195f01ba4f218941dd7308c)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Misc/NEWS.d/next/Library/2024-03-27-21-05-52.gh-issue-117310.Bt2wox.rst [new file with mode: 0644]
Modules/_ssl.c