diff --git a/tools/test.pl b/tools/test.pl index f10ae9b79..57d1800cc 100755 --- a/tools/test.pl +++ b/tools/test.pl @@ -9980,7 +9980,7 @@ END_CODE $hash_buf = hmac_hex ($data, $key, \&sha1, 64); - my $offset = hex (substr ($hash_buf, -8)) & 0xf; + my $offset = hex (substr ($hash_buf, -8)) & 0xf; $offset *= 2; my $token = hex (substr ($hash_buf, $offset, 8)); $token &= 0x7fffffff;