]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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:04:57 +0000 (18:04 +0100)
committerGitHub <noreply@github.com>
Thu, 28 Mar 2024 17:04:57 +0000 (10:04 -0700)
commit5a6318f2aab0a55a71a751a7de7e287b2082a8ae
tree7622264a1f24c019cdecac08d1b77b3385d27887
parent552b2646b75d079e9b31d4e800fbb2234624ed44
[3.12] gh-117310: Remove extra DECREF on "no ciphers" error path in `_ssl._SSLContext` constructor (GH-117309) (GH-117317)

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