[Python-3000-checkins] r58062 - python/branches/py3k/setup.py
gregory.p.smith
python-3000-checkins at python.org
Sun Sep 9 20:01:42 CEST 2007
Author: gregory.p.smith
Date: Sun Sep 9 20:01:42 2007
New Revision: 58062
Modified:
python/branches/py3k/setup.py
Log:
openssl 0.9.6 is too old to use, use our own modules
Modified: python/branches/py3k/setup.py
==============================================================================
--- python/branches/py3k/setup.py (original)
+++ python/branches/py3k/setup.py Sun Sep 9 20:01:42 2007
@@ -613,12 +613,12 @@
else:
missing.append('_hashlib')
- if (openssl_ver < 0x00908000):
+ if openssl_ver < 0x00908000:
# OpenSSL doesn't do these until 0.9.8 so we'll bring our own hash
exts.append( Extension('_sha256', ['sha256module.c']) )
exts.append( Extension('_sha512', ['sha512module.c']) )
- if not openssl_ver:
+ if openssl_ver < 0x00907000:
# no openssl at all, use our own md5 and sha1
exts.append( Extension('_md5', ['md5module.c']) )
exts.append( Extension('_sha1', ['sha1module.c']) )
More information about the Python-3000-checkins
mailing list