2 setup.py | 10 ++++++----
3 1 file changed, 6 insertions(+), 4 deletions(-)
7 @@ -704,8 +704,7 @@ class PyBuildExt(build_ext):
9 min_openssl_ver = 0x00907000
10 have_any_openssl = ssl_incs is not None and ssl_libs is not None
11 - have_usable_openssl = (have_any_openssl and
12 - openssl_ver >= min_openssl_ver)
13 + have_usable_openssl = False
16 if have_usable_openssl:
17 @@ -730,7 +729,7 @@ class PyBuildExt(build_ext):
18 depends = ['md5.h']) )
20 min_sha2_openssl_ver = 0x00908000
21 - if COMPILED_WITH_PYDEBUG or openssl_ver < min_sha2_openssl_ver:
23 # OpenSSL doesn't do these until 0.9.8 so we'll bring our own hash
24 exts.append( Extension('_sha256', ['sha256module.c']) )
25 exts.append( Extension('_sha512', ['sha512module.c']) )