From 91ae4a1404fabc236a835cd5dd058f7e6b32062b Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Sun, 3 Jan 2010 00:44:10 +0000 Subject: small logic cleanup, avoid duplicate openssl_ver check. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5676b14..d948770 100644 --- a/setup.py +++ b/setup.py @@ -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']) ) -- cgit v0.12