Author: christian.heimes
Date: Fri Nov 23 18:32:38 2007
New Revision: 59142
Modified:
python/branches/py3k/PCbuild9/build_ssl.py
Log:
Implemented request from Marc-Andre Lemburg
For license reasons Python must not ship with IDEA, RC5 and MDC2. The latter
are disabled by default but IDEA is enabled by default.
Modified: python/branches/py3k/PCbuild9/build_ssl.py
==============================================================================
--- python/branches/py3k/PCbuild9/build_ssl.py (original)
+++ python/branches/py3k/PCbuild9/build_ssl.py Fri Nov 23 18:32:38 2007
@@ -131,6 +131,11 @@
line = "CP=copy\n"
if line.startswith("MKDIR="):
line = "MKDIR=mkdir\n"
+ if line.startswith("CFLAG="):
+ for algo in ("RC5", "MDC2", "IDEA"):
+ noalgo = " -DOPENSSL_NO_%s" % algo
+ if noalgo not in line:
+ line = line + noalgo
fout.write(line)
def run_configure(configure, do_script):
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins