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
test_ssl: try more protocols in test_options() #69118
Comments
Hello to everyone!!! This test https://hg.python.org/cpython/file/2.7/Lib/test/test_ssl.py on method On 717 line, has a comment about # OP_ALL | OP_NO_SSLv2 is the default value, but I fixed this method and i wrote new cases about test_options using a lot of options on this test_options.patch, is the test fixed! thanks :-) |
Most likely you ran the test using a different version of python from the one the test is from. All the tests in that file pass on our buildbots when run by the python version they are for. |
the version that i ran the test, is python 2.7.10 |
anyway, this changes that i did, make this test more resilent! :-) |
Your patch removes the testing of getting ctx.options. However, OP_NO_SSLv3 was enabled by default and added to the test in bpo-25530, so I suspect that problem is no longer valid. I guess that leaves the rest of your patch which exercises other protocol values. |
This ticket is no longer relevant. All but TLS_METHOD (old name SSLv23_METHOD) have been deprecated by OpenSSL. In the future Python will use auto-negotiation. |
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: