From 50ccbc13f6b64122fce5f7f0d7f49e8d3b68aa23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Mon, 2 Aug 1999 22:13:46 +0000 Subject: [PATCH] automatically use no-mdc2 if no-des is requested. --- Configure | 6 ++++++ crypto/objects/Makefile.ssl | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Configure b/Configure index 30927aeed7..e16ad081cc 100755 --- a/Configure +++ b/Configure @@ -364,6 +364,12 @@ foreach (@ARGV) $algo =~ tr/[a-z]/[A-Z]/; $flags .= "-DNO_$algo "; $depflags .= "-DNO_$algo "; + if ($algo eq "DES") + { + $options .= " no-mdc2"; + $flags .= "-DNO_MDC2 "; + $depflags .= "-DNO_MDC2 "; + } } elsif (/^386$/) { $processor=386; } diff --git a/crypto/objects/Makefile.ssl b/crypto/objects/Makefile.ssl index a3a15c13c1..01bff3ece5 100644 --- a/crypto/objects/Makefile.ssl +++ b/crypto/objects/Makefile.ssl @@ -93,7 +93,7 @@ obj_dat.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h obj_dat.o: ../../include/openssl/lhash.h ../../include/openssl/objects.h obj_dat.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h obj_dat.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h -obj_dat.o: ../cryptlib.h obj_dat.h +obj_dat.o: ../cryptlib.h obj_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h obj_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h obj_err.o: ../../include/openssl/err.h ../../include/openssl/objects.h -- 2.25.1