-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modules/_ssl.c, repeated 'SSL_OP_NO_TLSv1_2' #88555
Comments
cpython-3.10.0b2/Modules/_ssl.c line 3576 3570 static int 'SSL_OP_NO_TLSv1_2' is repeated, are any other items missing? |
Thanks for the report, Brother Beer. |
It's a typo, not a duplicate entry. Correct line is:
|
But TLSv1.3 is included in openssl 1.1.1, no? |
3.10 requires OpenSSL >= 1.1.1 The code checks for presence of deprecated options and emits a warning for all SSL_OP_NO_TLS/SSL* constants. |
Yes, and judging from PEP-644, I figured the TLSv1.3 flag was _not_ deprecated. Sorry for the misunderstanding/noise. |
Let me know if you want me to open a PR that adds the correct flag and adds deprecation wrappers to the tests. |
Ah, I see now that it's deprecated in the docs as well: https://docs.python.org/3/library/ssl.html#ssl.OP_NO_TLSv1_3 |
OpenSSL has deprecated these constants:
https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_options.html |
Thanks, Christian. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: