From 796b4367efed7bc7eea65fffae1750b9a6aee619 Mon Sep 17 00:00:00 2001 From: appro Date: Sat, 3 Mar 2012 13:17:47 +0000 Subject: Configure: make no-whirlpool work. --- Configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Configure b/Configure index f6ca42c82..5900e1831 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"; } -- cgit v1.2.1