-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
remove NPN bindings -- you should be using ALPN! #4765
Conversation
We need to uncondtionally set |
What about |
|
Author: reaperhulk Reviewer: glyph Fixes: ticket:9614 NPNAndALPNAbsentTests skip iff both are absent Previously these tests only skipped if they failed to detect NPN on the assumption that ALPN would never be present if NPN was missing. However, NPN is deprecated and we'd like to remove it from cryptography/pyOpenSSL so this test needs to be smarter. refs pyca/cryptography#4765
Damn, the fix I put into twisted's tests doesn't entirely fix the test failures. One left. Dropping it here for later investigation, but this could be a real thing that needs fixing on the twisted side
|
On @glyph's recommendation I changed the test suite in the last push (a month ago) to just run the one test to see if it passed. It did. This is state leakage between tests, so twisted needs to sort that out before we can merge this. |
Have we filed a bug with twisted for that? |
Ping @glyph plz fix state leakage in your testing |
7232dc9
to
a11b969
Compare
I filed https://twistedmatrix.com/trac/ticket/9725 for this |
pyOpenSSL consumed these, but we've marked it as deprecated and it already handles the case where the bindings are not available.
we can remove this symbol in like...5 years.
pyOpenSSL consumed these, but we've marked it as deprecated and it already handles the case where the bindings are not available.