Fix test.pl verify
authorFist0urs <eddy.maaalou@gmail.com>
Sat, 20 Feb 2016 00:38:00 +0000 (01:38 +0100)
committerFist0urs <eddy.maaalou@gmail.com>
Sat, 20 Feb 2016 00:39:58 +0000 (01:39 +0100)
tools/test.pl

index 5d945fe..442ae8a 100755 (executable)
@@ -2234,7 +2234,7 @@ sub verify
       
       next unless ($signature eq "krb5tgs");
       next unless (length ($checksum) == 32);
-      next unless (length ($edata2) == 64);
+      next unless (length ($edata2) >= 64);
 
       $salt = $user . '$' . $realm . '$' . $spn . '$' . substr ($edata2, 0, 16);