From a1fa4aa12f7a53f5656b0f94244e1ad29a55ad03 Mon Sep 17 00:00:00 2001 From: Sein Coray Date: Wed, 9 Jan 2019 10:50:26 +0100 Subject: [PATCH] Fixed spacing --- tools/test_modules/m00131.pm | 2 +- tools/test_modules/m00132.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/test_modules/m00131.pm b/tools/test_modules/m00131.pm index 3f30acfc2..f3011c514 100644 --- a/tools/test_modules/m00131.pm +++ b/tools/test_modules/m00131.pm @@ -20,7 +20,7 @@ sub module_generate_hash my $salt_bin = pack ("H*", $salt); - my $digest = sha1_hex (encode ("UTF-16LE", uc($word)) . $salt_bin); + my $digest = sha1_hex (encode ("UTF-16LE", uc ($word)) . $salt_bin); my $hash = sprintf ("0x0100%s%s%s", $salt, "0" x 40, $digest); diff --git a/tools/test_modules/m00132.pm b/tools/test_modules/m00132.pm index e0b7e4c93..37b53a6c7 100644 --- a/tools/test_modules/m00132.pm +++ b/tools/test_modules/m00132.pm @@ -33,9 +33,9 @@ sub module_verify_hash my ($digest, $word) = split (':', $line); - my $salt = substr($digest, 6, 8); + my $salt = substr ($digest, 6, 8); - my $hash = substr($digest, 14); + my $hash = substr ($digest, 14); return unless defined $hash; return unless defined $salt;