refactor: Remove unneded imports

This commit is contained in:
Alivecow 2024-12-23 10:29:12 +01:00
parent c9c26b3971
commit 848ad15bb8
7 changed files with 5 additions and 8 deletions

View file

@ -54,7 +54,7 @@ pub fn padding_oracle(args: &Value) -> Result<Vec<u8>> {
// TODO: Collect all and send in one
let mut payload: Vec<u8> = Vec::with_capacity(2 + 16 * 265);
payload.extend(l_msg.to_vec());
for j in 0..q_block_count {
for _j in 0..q_block_count {
// Next byte
payload.extend(&attack_counter);
attack_counter[i as usize] += 1;
@ -140,7 +140,6 @@ pub fn padding_oracle(args: &Value) -> Result<Vec<u8>> {
#[cfg(test)]
mod tests {
use super::*;
use serde_json::json;
#[test]
fn test_connection() -> Result<()> {