diff options
author | Andy Polyakov <appro@openssl.org> | 2016-01-29 14:23:24 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2016-01-31 22:43:29 +0100 |
commit | 46d4d86577430fa3deeed967e394273975900fdb (patch) | |
tree | fe278be86b8845a099118d0fbfa0734e4f7ef33d /Configure | |
parent | 8ab31975bacb9c907261088937d3aa4102e3af84 (diff) |
Configure: restore original logic for -DWHIRLPOOL_ASM.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1052,10 +1052,12 @@ if (!$no_asm) { $config{cflags}.=" -DVPAES_ASM" if ($target{aes_obj} =~ m/vpaes/); $config{cflags}.=" -DBSAES_ASM" if ($target{aes_obj} =~ m/bsaes/); } - if ($target{wp_obj} =~ /mmx/ && $config{processor} eq "386") { - $target{wp_obj}=$table{BASE}->{wp_obj}; - } elsif (!$disabled{"whirlpool"}) { - $config{cflags}.=" -DWHIRLPOOL_ASM"; + if ($target{wp_obj} =~ /mmx/) { + if ($config{processor} eq "386") { + $target{wp_obj}=$table{BASE}->{wp_obj}; + } elsif (!$disabled{"whirlpool"}) { + $config{cflags}.=" -DWHIRLPOOL_ASM"; + } } if ($target{modes_obj} =~ /ghash-/) { $config{cflags}.=" -DGHASH_ASM"; |