1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-02 02:41:35 +00:00

restore original return values in modules 2500, 2501

This commit is contained in:
Gabriele Gristina 2019-06-22 14:25:06 +02:00
parent 9b556b3500
commit b05aeac950
2 changed files with 2 additions and 2 deletions

View File

@ -378,7 +378,7 @@ int module_hash_binary_parse (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE
fp_tmp_t fp_t; fp_tmp_t fp_t;
// if (fp == NULL) return -1; // if (fp == NULL) return -1;
if (hc_fopen (&fp_t, hashes->hashfile, "rb") == false) return (PARSER_HASH_FILE); if (hc_fopen (&fp_t, hashes->hashfile, "rb") == false) return -1;
char *in = (char *) hcmalloc (sizeof (hccapx_t)); char *in = (char *) hcmalloc (sizeof (hccapx_t));

View File

@ -353,7 +353,7 @@ int module_hash_binary_parse (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE
fp_tmp_t fp_t; fp_tmp_t fp_t;
// if (fp == NULL) return -1; // if (fp == NULL) return -1;
if (hc_fopen (&fp_t, hashes->hashfile, "rb") == false) return (PARSER_HASH_FILE); if (hc_fopen (&fp_t, hashes->hashfile, "rb") == false) return -1;
char *in = (char *) hcmalloc (sizeof (hccapx_t)); char *in = (char *) hcmalloc (sizeof (hccapx_t));