diff --git a/PCbuild9/build_ssl.py b/PCbuild9/build_ssl.py index 96d5aad8dd5..db73e243336 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):