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:
parent
9b556b3500
commit
b05aeac950
@ -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));
|
||||||
|
|
||||||
|
@ -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));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user