summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-03-03 13:17:47 +0000
committerAndy Polyakov <appro@openssl.org>2012-03-03 13:17:47 +0000
commitce0ed3b7789144f6574e5d9e3910c4459a801a84 (patch)
treef34b8dc70d133fcb8e1d979e0c4c720ef9311327 /Configure
parent358c372d169bbd69ca3c41d6e3506912982a7511 (diff)
Configure: make no-whirlpool work.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/Configure b/Configure
index f6ca42c82a..5900e18313 100755
--- a/Configure
+++ b/Configure
@@ -1125,6 +1125,8 @@ foreach (sort (keys %disabled))
else
{
push @skip, $algo;
+ # fix-up crypto/directory name(s)
+ @skip[$#skip]="whrlpool" if $algo eq "whirlpool";
print " (skip dir)";
$depflags .= " -DOPENSSL_NO_$ALGO";
@@ -1576,7 +1578,7 @@ else {
$aes_obj=$aes_enc;
}
$wp_obj="" if ($wp_obj =~ /mmx/ && $processor eq "386");
-if ($wp_obj =~ /\.o$/)
+if ($wp_obj =~ /\.o$/ && !$disabled{"whirlpool"})
{
$cflags.=" -DWHIRLPOOL_ASM";
}