From: Andy Polyakov Date: Sat, 3 Mar 2012 13:48:21 +0000 (+0000) Subject: Configure: make no-whirlpool work [from HEAD]. X-Git-Tag: OpenSSL_1_0_0h~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ad83334e738e89fa5537cc7e970a598dccf17096;p=oweals%2Fopenssl.git Configure: make no-whirlpool work [from HEAD]. --- diff --git a/Configure b/Configure index 7941c93f64..93d708b6a5 100755 --- a/Configure +++ b/Configure @@ -1015,6 +1015,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"; @@ -1415,7 +1417,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"; }