summaryrefslogtreecommitdiffstats
path: root/rust/src/ike/ikev1.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:40:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:40:14 +0000
commit2c370a1dd70130d82e9222945ff2421a4168e640 (patch)
tree670794b3ba895e1a01c834c5b7881d123eb46f38 /rust/src/ike/ikev1.rs
parentAdding debian version 1:7.0.3-1. (diff)
downloadsuricata-2c370a1dd70130d82e9222945ff2421a4168e640.tar.xz
suricata-2c370a1dd70130d82e9222945ff2421a4168e640.zip
Merging upstream version 1:7.0.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'rust/src/ike/ikev1.rs')
-rw-r--r--rust/src/ike/ikev1.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/ike/ikev1.rs b/rust/src/ike/ikev1.rs
index 1e79c29..6f598f9 100644
--- a/rust/src/ike/ikev1.rs
+++ b/rust/src/ike/ikev1.rs
@@ -53,7 +53,7 @@ impl Ikev1ParticipantData {
}
pub fn update(
- &mut self, key_exchange: &str, nonce: &str, transforms: &Vec<Vec<SaAttribute>>,
+ &mut self, key_exchange: &str, nonce: &str, transforms: &[Vec<SaAttribute>],
) {
self.key_exchange = key_exchange.to_string();
self.nonce = nonce.to_string();