Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0eb2102

Browse files
committed
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.
1 parent 62a8ee1 commit 0eb2102

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

PCbuild9/build_ssl.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ def fix_makefile(makefile):
131131
line = "CP=copy\n"
132132
if line.startswith("MKDIR="):
133133
line = "MKDIR=mkdir\n"
134+
if line.startswith("CFLAG="):
135+
for algo in ("RC5", "MDC2", "IDEA"):
136+
noalgo = " -DOPENSSL_NO_%s" % algo
137+
if noalgo not in line:
138+
line = line + noalgo
134139
fout.write(line)
135140

136141
def run_configure(configure, do_script):

0 commit comments

Comments
 (0)