summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2015-01-24 16:46:54 +0100
committerAndy Polyakov <appro@openssl.org>2015-01-27 12:23:42 +0100
commit2a4af9478d0be41ea8c782c3c7adda00f7e20fbb (patch)
treedebcc2df250c07394da4d0be1371f3d8063be393 /Configure
parent2863d5f3cd96d66cadeef19b8b4111de55ce78de (diff)
Configure: addendum to OPENSSL_NO_[RMD160|RIPEMD] harmonization.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/Configure b/Configure
index c726478b70..ca48b529e6 100755
--- a/Configure
+++ b/Configure
@@ -1083,6 +1083,8 @@ foreach (sort (keys %disabled))
}
else
{
+ ($ALGO,$algo) = ("RMD160","rmd160") if ($algo eq "ripemd");
+
$openssl_algorithm_defines .= "#define OPENSSL_NO_$ALGO\n";
print " OPENSSL_NO_$ALGO";
@@ -1093,6 +1095,8 @@ foreach (sort (keys %disabled))
push @skip, $algo;
# fix-up crypto/directory name(s)
@skip[$#skip]="whrlpool" if $algo eq "whirlpool";
+ @skip[$#skip]="ripemd" if $algo eq "rmd160";
+
print " (skip dir)";
$depflags .= " -DOPENSSL_NO_$ALGO";