automatically use no-mdc2 if no-des is requested.

This commit is contained in:
Bodo Möller 1999-08-02 22:13:46 +00:00
parent 3518b4cd08
commit 50ccbc13f6
2 changed files with 7 additions and 1 deletions

View File

@ -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; }

View File

@ -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