Use scalar, not length; fixes test_evp

Reviewed-by: Stephen Henson <steve@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3452)
This commit is contained in:
Rich Salz 2017-05-11 20:42:32 -04:00
parent e195c8a256
commit 33242d9d79

View File

@ -17,7 +17,7 @@ setup("test_evp");
my @files = ( "evpciph.txt", "evpdigest.txt", "evpencod.txt", "evpkdf.txt",
"evpmac.txt", "evppbe.txt", "evppkey.txt" );
plan tests => length(@files);
plan tests => scalar(@files);
foreach my $f ( @files ) {
ok(run(test(["evp_test", srctop_file("test", "$f")])),