From: Richard Levitte Date: Sat, 25 Jan 2020 06:55:36 +0000 (+0100) Subject: test/recipes/30-test_evp.t: Fix multiple definition of @bffiles X-Git-Tag: openssl-3.0.0-alpha1~603 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=4ff5b41af15ce731f03bbb43250c8ef1ed88b513;hp=b0031e5dc2c8c99a6c04bc7625aa00d3d20a59a5 test/recipes/30-test_evp.t: Fix multiple definition of @bffiles 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 (Merged from https://github.com/openssl/openssl/pull/10944) --- diff --git a/test/recipes/30-test_evp.t b/test/recipes/30-test_evp.t index 5567cafb3e..11e4b9cae9 100644 --- a/test/recipes/30-test_evp.t +++ b/test/recipes/30-test_evp.t @@ -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