Message135273
Does this happen with a released build of OpenSSL? The Debian bug talks about experimental.
+try:
+ from _ssl import PROTOCOL_SSLv2
+ OPENSSL_NO_SSL2 = False
+except ImportError:
+ OPENSSL_NO_SSL2 = True
Please avoid "negative" constants. Calling it HAS_SSLv2 would be fine.
Also, there should be some doc update mentioning that PROTOCOL_SSLv2 is not always present. |
|
Date |
User |
Action |
Args |
2011-05-06 10:10:39 | pitrou | set | recipients:
+ pitrou, vstinner |
2011-05-06 10:10:39 | pitrou | set | messageid: <1304676639.72.0.586098065332.issue12012@psf.upfronthosting.co.za> |
2011-05-06 10:10:29 | pitrou | link | issue12012 messages |
2011-05-06 10:10:29 | pitrou | create | |
|