From: Christian Heimes Date: Fri, 23 Nov 2007 17:32:38 +0000 (+0000) Subject: Implemented request from Marc-Andre Lemburg X-Git-Tag: v3.0a2~104 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0eb21022f2b5492c90d377379d4b2a945984f29c;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/PCbuild9/build_ssl.py b/PCbuild9/build_ssl.py index 96d5aad8dd5c..db73e2433364 100644 --- a/PCbuild9/build_ssl.py +++ b/PCbuild9/build_ssl.py @@ -131,6 +131,11 @@ def fix_makefile(makefile): 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):