automatically use no-mdc2 if no-des is requested.
diff --git a/Configure b/Configure index 30927ae..e16ad08 100755 --- a/Configure +++ b/Configure
@@ -364,6 +364,12 @@ $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 a3a15c1..01bff3e 100644 --- a/crypto/objects/Makefile.ssl +++ b/crypto/objects/Makefile.ssl
@@ -93,7 +93,7 @@ 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