]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
test/recipes/30-test_evp.t: Fix multiple definition of @bffiles
authorRichard Levitte <levitte@openssl.org>
Sat, 25 Jan 2020 06:55:36 +0000 (07:55 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 26 Jan 2020 15:25:47 +0000 (16:25 +0100)
Curiously enough, perl only warned about the shadowing.  However, the
following 'plan' statement got disturbed somehow, as one could notice
the test counter say "11/?" instead of "11/25".

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/10944)

test/recipes/30-test_evp.t

index 5567cafb3e477241e25af666d536220b92e721b3..11e4b9cae90d1c7dc8b35ad4440794cd81c1900c 100644 (file)
@@ -67,11 +67,11 @@ push @defltfiles, @chachafiles unless disabled("chacha");
 my @bffiles = qw( evpciph_bf.txt );
 push @defltfiles, @bffiles unless disabled("bf");
 
-my @bffiles = qw( evpmd_md2.txt );
-push @defltfiles, @bffiles unless disabled("md2");
+my @md2files = qw( evpmd_md2.txt );
+push @defltfiles, @md2files unless disabled("md2");
 
-my @bffiles = qw( evpmd_mdc2.txt );
-push @defltfiles, @bffiles unless disabled("mdc2");
+my @mdc2files = qw( evpmd_mdc2.txt );
+push @defltfiles, @mdc2files unless disabled("mdc2");
 
 plan tests =>
     ($no_fips ? 0 : 1)          # FIPS install test