1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-22 06:38:11 +00:00

Replaced index() with strchr() to enable mingw to compile windows binaries

This commit is contained in:
jsteube 2023-11-12 11:02:10 +00:00
parent 46ce637d3c
commit 4da1d31668

View File

@ -1490,7 +1490,7 @@ int extract_dynamicx_hash (const u8 *input_buf, const int input_len, u8 **output
if (sscanf ((char *) input_buf, "$dynamic_%d$", &hash_mode) != 1) return -1;
*output_buf = (u8 *) index ((char *) input_buf + 10, '$');
*output_buf = (u8 *) strchr ((char *) input_buf + 10, '$');
if (*output_buf == NULL) return -1;