From: Bodo Möller Date: Mon, 2 Aug 1999 22:13:46 +0000 (+0000) Subject: automatically use no-mdc2 if no-des is requested. X-Git-Tag: OpenSSL_0_9_4~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=50ccbc13f6b64122fce5f7f0d7f49e8d3b68aa23;p=openssl automatically use no-mdc2 if no-des is requested. --- 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