diff --git a/include/interface.h b/include/interface.h index 0ccfd8eb5..7df40ec72 100644 --- a/include/interface.h +++ b/include/interface.h @@ -1597,6 +1597,7 @@ int filevault2_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_bu int wpa_pmkid_pbkdf2_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig); int wpa_pmkid_pmk_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig); int ansible_vault_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig); +int totp_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig); /** * hook functions diff --git a/src/interface.c b/src/interface.c index fcd665a34..a5b684e24 100644 --- a/src/interface.c +++ b/src/interface.c @@ -5197,7 +5197,7 @@ int totp_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSE } if (rc_tokenizer != PARSER_OK) return (rc_tokenizer); - u8 *hash_pos = token.buf[0]; + //u8 *hash_pos = token.buf[0]; digest[1] = otp_code;