diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2010-01-03 00:44:10 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2010-01-03 00:44:10 (GMT) |
commit | 91ae4a1404fabc236a835cd5dd058f7e6b32062b (patch) | |
tree | 25a91071db8607f3574b39372e3bc2775eeb6194 | |
parent | b04ded4927c411908ae45154b194ac08cf819a42 (diff) | |
download | cpython-91ae4a1404fabc236a835cd5dd058f7e6b32062b.zip cpython-91ae4a1404fabc236a835cd5dd058f7e6b32062b.tar.gz cpython-91ae4a1404fabc236a835cd5dd058f7e6b32062b.tar.bz2 |
small logic cleanup, avoid duplicate openssl_ver check.
-rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -620,7 +620,7 @@ class PyBuildExt(build_ext): exts.append( Extension('_sha256', ['sha256module.c']) ) exts.append( Extension('_sha512', ['sha512module.c']) ) - if COMPILED_WITH_PYDEBUG or openssl_ver < min_openssl_ver: + if COMPILED_WITH_PYDEBUG or not have_usable_openssl: # no openssl at all, use our own md5 and sha1 exts.append( Extension('_md5', ['md5module.c']) ) exts.append( Extension('_sha1', ['sha1module.c']) ) |