Skip to content

Commit

Permalink
fix cargo clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
puethenn committed Nov 26, 2024
1 parent a7edc93 commit dcdff4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rust/src/nasl/builtin/cryptographic/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ impl IntoFunctionSet for Cryptographic {
set.add_set(des::Des);
set.add_set(rsa::Rsa);
set.add_set(bf_cbc::BfCbc);
set.add_set(smb::SMB);
set.add_set(smb::Smb);
set
}
}
4 changes: 2 additions & 2 deletions rust/src/nasl/builtin/cryptographic/smb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ fn smb_gmac_aes_signature(key: &str, buf: &str, iv: &str) -> Result<NaslValue, F
Ok(auth.into())
}

pub struct SMB;
pub struct Smb;
function_set! {
SMB,
Smb,
sync_stateless,
(
(smb_gmac_aes_signature, "smb_gmac_aes_signature"),
Expand Down

0 comments on commit dcdff4c

Please sign in to comment.