diff options
Diffstat (limited to 'rust/src/ike/ikev1.rs')
-rw-r--r-- | rust/src/ike/ikev1.rs | 2 |
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(); |