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:
parent
46ce637d3c
commit
4da1d31668
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user