commit | 7eb2e748eb372826ff8057957b1592c4e36d1232 | [log] [tgz] |
---|---|---|
author | Jean-Paul Calderone <exarkun@twistedmatrix.com> | Fri Mar 09 14:57:47 2012 -0800 |
committer | Jean-Paul Calderone <exarkun@twistedmatrix.com> | Fri Mar 09 14:57:47 2012 -0800 |
tree | a368b323eb9ac49b05d53bb29c6071f3f7140c53 | |
parent | 3f79ceaf76cabb14228f63813a1101b6944fbf39 [diff] |
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.