rpms/python/F-8 python-2.5.1-setup-sha256-bad-openssl.patch, NONE, 1.1

James Antill (james) fedora-extras-commits at redhat.com
Thu Jul 10 21:18:39 UTC 2008


Author: james

Update of /cvs/pkgs/rpms/python/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6895

Added Files:
	python-2.5.1-setup-sha256-bad-openssl.patch 
Log Message:
* Thu Jul 10 2008 James Antill <jantill at redhat.com> - 2.5.1-26.fc8.2
- Allow hashlib to work, if the linked openssl doesn't (Fed-9 update)
- Resolves: bug#454179


python-2.5.1-setup-sha256-bad-openssl.patch:

--- NEW FILE python-2.5.1-setup-sha256-bad-openssl.patch ---
diff -rup Python-2.5.1-orig/setup.py Python-2.5.1/setup.py
--- Python-2.5.1-orig/setup.py	2008-07-10 13:33:18.000000000 -0400
+++ Python-2.5.1/setup.py	2008-07-10 13:34:59.000000000 -0400
@@ -586,7 +586,7 @@ class PyBuildExt(build_ext):
                             sources = ['md5module.c', 'md5.c'],
                             depends = ['md5.h']) )
 
-        if (openssl_ver < 0x00908000):
+        if True or (openssl_ver < 0x00908000): # So it works if OSSL breaks
             # 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']) )




More information about the fedora-extras-commits mailing list