summaryrefslogtreecommitdiff
path: root/OpenSSL/test/test_crypto.py
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@twistedmatrix.com>2012-03-09 14:57:47 -0800
committerJean-Paul Calderone <exarkun@twistedmatrix.com>2012-03-09 14:57:47 -0800
commit7eb2e748eb372826ff8057957b1592c4e36d1232 (patch)
treea368b323eb9ac49b05d53bb29c6071f3f7140c53 /OpenSSL/test/test_crypto.py
parent3f79ceaf76cabb14228f63813a1101b6944fbf39 (diff)
downloadpyopenssl-7eb2e748eb372826ff8057957b1592c4e36d1232.tar.gz
Get rid of the OPENSSL_NO_SSL2 check, which is not a complete solution on all platforms; replace it with a check (which should always have been there) of the SSL_CTX_new return value. If SSLv2 is unavailable, the context creation should fail and we will notice at that point.
Diffstat (limited to 'OpenSSL/test/test_crypto.py')
0 files changed, 0 insertions, 0 deletions