Make salt detection more robust.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 9 Nov 2007 01:16:14 +0000 (01:16 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 9 Nov 2007 01:16:14 +0000 (01:16 +0000)
fips/mkfipsscr.pl

index d55c1146be9353657f9b290e3b782d118822e1c7..dc60cdf5804bfa04ac2543e61b0e1566946a5d39 100644 (file)
@@ -598,7 +598,7 @@ END
                my $saltlen;
                while (<IN>)
                        {
-                       if (/^\s*#\s*salt\s+len:\s+(\d+)\s+$/i)
+                       if (/^\s*#\s*salt\s+len:\s+(\d+)\s*$/i)
                                {
                                my $sl = $1;
                                print STDERR "$req salt length $sl\n" if $debug;