util/mkdef.pl: Fix incomplete cherry-pick
authorRichard Levitte <levitte@openssl.org>
Thu, 8 Feb 2018 11:54:25 +0000 (12:54 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 8 Feb 2018 11:54:25 +0000 (12:54 +0100)
The cherry pick that resulted in 65de3f1657d8a3bdb7c48063931a3c619817c921
was incomplete.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5283)

util/mkdef.pl

index 3775b70e936df0c0330c2914bdf52c3aa95fd2c7..66db26c3b9562c7497dccca767a0e5b6b76a6113 100755 (executable)
@@ -198,7 +198,7 @@ foreach (@ARGV, split(/ /, $config{options}))
                }
        }
        if (/^no-deprecated$/) {
-               foreach (keys %disabled_algorithms) {
+               foreach (@known_algorithms) {
                        if (/^DEPRECATEDIN_/) {
                                $disabled_algorithms{$_} = 1;
                        }