summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-08-02 22:13:46 +0000
committerBodo Möller <bodo@openssl.org>1999-08-02 22:13:46 +0000
commit50ccbc13f6b64122fce5f7f0d7f49e8d3b68aa23 (patch)
tree337717b70ad948478b26803ade2ad0c559a3120d /Configure
parent3518b4cd08b4f09a3ba8d07ff16a4a1e996fe8ee (diff)
downloadopenssl-new-50ccbc13f6b64122fce5f7f0d7f49e8d3b68aa23.tar.gz
automatically use no-mdc2 if no-des is requested.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure6
1 files changed, 6 insertions, 0 deletions
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; }