From dcdff4c76e3359108355ce4453551bd0960fb98e Mon Sep 17 00:00:00 2001 From: = Date: Tue, 26 Nov 2024 17:13:04 +0100 Subject: [PATCH] fix cargo clippy warning --- rust/src/nasl/builtin/cryptographic/mod.rs | 2 +- rust/src/nasl/builtin/cryptographic/smb.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rust/src/nasl/builtin/cryptographic/mod.rs b/rust/src/nasl/builtin/cryptographic/mod.rs index dbae038ed..240523af2 100644 --- a/rust/src/nasl/builtin/cryptographic/mod.rs +++ b/rust/src/nasl/builtin/cryptographic/mod.rs @@ -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 } } diff --git a/rust/src/nasl/builtin/cryptographic/smb.rs b/rust/src/nasl/builtin/cryptographic/smb.rs index da03911e1..5995ab3bc 100644 --- a/rust/src/nasl/builtin/cryptographic/smb.rs +++ b/rust/src/nasl/builtin/cryptographic/smb.rs @@ -34,9 +34,9 @@ fn smb_gmac_aes_signature(key: &str, buf: &str, iv: &str) -> Result