From 9eca2399f1f5ab45527f33147ee5180df4c035a2 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 11 Nov 2011 19:01:11 +0000 Subject: [PATCH] portability fix for some perl versions --- fips/fipsalgtest.pl | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/fips/fipsalgtest.pl b/fips/fipsalgtest.pl index cd6ba8c116..30cd9c0ebd 100644 --- a/fips/fipsalgtest.pl +++ b/fips/fipsalgtest.pl @@ -513,29 +513,29 @@ my $mkcmd = "mkdir"; my $cmpall = 0; my %fips_enabled = ( - dsa => 1, - dsa2 => 2, + "dsa" => 1, + "dsa2" => 2, "dsa-pqgver" => 2, - ecdsa => 2, - rsa => 1, + "ecdsa" => 2, + "rsa" => 1, "rsa-pss0" => 2, "rsa-pss62" => 1, - sha => 1, - hmac => 1, - cmac => 2, + "sha" => 1, + "hmac" => 1, + "cmac" => 2, "rand-aes" => 1, "rand-des2" => 0, - aes => 1, + "aes" => 1, "aes-cfb1" => 2, - des3 => 1, + "des3" => 1, "des3-cfb1" => 2, - drbg => 2, + "drbg" => 2, "aes-ccm" => 2, "aes-xts" => 2, "aes-gcm" => 2, - dh => 0, - ecdh => 2, - v2 => 1, + "dh" => 0, + "ecdh" => 2, + "v2" => 1, ); foreach (@ARGV) { -- 2.25.1