This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients alex, christian.heimes, dstufft, graingert, janssen
Date 2021-06-10.12:10:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623327046.3.0.543962275479.issue44354@roundup.psfhosted.org>
In-reply-to
Content
ctx.options |= ssl.OP_NO_SSLv2 and ctx.options |= ssl.OP_NO_SSLv3 are no-ops and don't modify the value of ctx.options. OP_NO_SSLv2 == 0 and OP_NO_SSLv3 is set by default:

>>> ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
>>> ctx.options
ssl.OP_NO_COMPRESSION|ssl.OP_ENABLE_MIDDLEBOX_COMPAT|ssl.OP_CIPHER_SERVER_PREFERENCE|ssl.OP_NO_SSLv3|0x80000054
>>> int(ssl.OP_NO_SSLv2)
0
History
Date User Action Args
2021-06-10 12:10:46christian.heimessetrecipients: + christian.heimes, janssen, alex, graingert, dstufft
2021-06-10 12:10:46christian.heimessetmessageid: <1623327046.3.0.543962275479.issue44354@roundup.psfhosted.org>
2021-06-10 12:10:46christian.heimeslinkissue44354 messages
2021-06-10 12:10:46christian.heimescreate