X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=src%2Fshared.c;h=5b7faead0790143733166df1cea17375d63e64b7;hb=3fa2d1091446d8253fe4549aedee58dd062f64ab;hp=f693122892e8291e0b587edaf31d2cdd840a1eea;hpb=e7214abee31c27a96a90b3caadf3beadd56064db;p=hashcat.git diff --git a/src/shared.c b/src/shared.c index f693122..5b7faea 100644 --- a/src/shared.c +++ b/src/shared.c @@ -17933,7 +17933,7 @@ int pdf17l8_parse_hash (char *input_buf, uint input_len, hash_t *hash_buf) int enc_md = atoi (enc_md_pos); - if (enc_md != 1) return (PARSER_SALT_VALUE); + if ((enc_md != 0) && (enc_md != 1)) return (PARSER_SALT_VALUE); const uint id_len = atoi (id_len_pos); const uint u_len = atoi (u_len_pos);