Configure: addendum to OPENSSL_NO_[RMD160|RIPEMD] harmonization.

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Andy Polyakov 2015-01-24 16:46:54 +01:00
parent 2863d5f3cd
commit 2a4af9478d

View File

@ -1083,6 +1083,8 @@ foreach (sort (keys %disabled))
} }
else else
{ {
($ALGO,$algo) = ("RMD160","rmd160") if ($algo eq "ripemd");
$openssl_algorithm_defines .= "#define OPENSSL_NO_$ALGO\n"; $openssl_algorithm_defines .= "#define OPENSSL_NO_$ALGO\n";
print " OPENSSL_NO_$ALGO"; print " OPENSSL_NO_$ALGO";
@ -1093,6 +1095,8 @@ foreach (sort (keys %disabled))
push @skip, $algo; push @skip, $algo;
# fix-up crypto/directory name(s) # fix-up crypto/directory name(s)
@skip[$#skip]="whrlpool" if $algo eq "whirlpool"; @skip[$#skip]="whrlpool" if $algo eq "whirlpool";
@skip[$#skip]="ripemd" if $algo eq "rmd160";
print " (skip dir)"; print " (skip dir)";
$depflags .= " -DOPENSSL_NO_$ALGO"; $depflags .= " -DOPENSSL_NO_$ALGO";