Fix compile warnings in totp_parse_hash()

pull/1710/head
unix-ninja 6 years ago
parent 3c3b05d1e5
commit 37983de4b2

@ -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

@ -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;

Loading…
Cancel
Save