1
mirror of https://github.com/hashcat/hashcat synced 2024-12-01 20:18:12 +01:00

Let is_hexify() call is_valid_hex_string() for better verification

This commit is contained in:
Jens Steube 2017-02-19 14:51:45 +01:00
parent dd55c1eb66
commit 5ec763fa20

View File

@ -98,6 +98,8 @@ bool is_hexify (const u8 *buf, const int len)
if (buf[4] != '[') return (false);
if (buf[len - 1] != ']') return (false);
if (is_valid_hex_string (buf + 5, len - 6) == false) return false;
return true;
}