Use scalar, not length; fixes test_evp
authorRich Salz <rsalz@openssl.org>
Fri, 12 May 2017 00:42:32 +0000 (20:42 -0400)
committerRich Salz <rsalz@openssl.org>
Fri, 12 May 2017 00:42:32 +0000 (20:42 -0400)
Reviewed-by: Stephen Henson <steve@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3452)

test/recipes/30-test_evp.t

index f46b66d..a90b3a9 100644 (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")])),