Configure: addendum to OPENSSL_NO_[RMD160|RIPEMD] harmonization.
[openssl.git] / Configure
index c726478b70491d287259f2d5dd2dbcd1218cad2c..ca48b529e69f801e7caa93c64e41171b61e8d60d 100755 (executable)
--- 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";