summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-03-03 13:18:06 +0000
committerAndy Polyakov <appro@openssl.org>2012-03-03 13:18:06 +0000
commit6d78c381f66245219f5b0a5fa8cd636dddedfd9c (patch)
tree46a6f17e914ff99efda67f4f56e3ee071391456b /Configure
parent784e2080df22cb85bdca791ba3771e82b9624563 (diff)
Configure: make no-whirlpool work [from HEAD].
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/Configure b/Configure
index adbfa8f339..43a90c0152 100755
--- a/Configure
+++ b/Configure
@@ -1095,6 +1095,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";
@@ -1513,7 +1515,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";
}