diff --git a/src/interface.c b/src/interface.c index 35a50df8c..8a9daa559 100644 --- a/src/interface.c +++ b/src/interface.c @@ -5200,14 +5200,10 @@ int totp_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSE digest[1] = otp_code; u8 *salt_pos = token.buf[1]; - int salt_len = token.len[1]; // convert ascii timestamp to ulong timestamp unsigned long timestamp = 0; - for(int i = 0; i