Revert "Constify code about X509_VERIFY_PARAM"
[openssl.git] / Configure
index d78ab7aac7fdabd9d3b99fbe70b79d1d6c051674..0cfc3ea36d5cfeb410e0aaf0be0eb6b8936face6 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -886,7 +886,8 @@ foreach (sort (keys %disabled))
                $what = "ripemd" if $what eq "rmd160";
                $what = "whrlpool" if $what eq "whirlpool";
 
-               if (grep { $_ eq $what } @{$config{sdirs}})
+               if ($what ne "async" && $what ne "err"
+                   && grep { $_ eq $what } @{$config{sdirs}})
                        {
                        push @{$config{openssl_algorithm_defines}}, "OPENSSL_NO_$WHAT";
                        @{$config{sdirs}} = grep { $_ ne $what} @{$config{sdirs}};