diff --git a/lakers-python/src/initiator.rs b/lakers-python/src/initiator.rs index c158aaca..9a2899a2 100644 --- a/lakers-python/src/initiator.rs +++ b/lakers-python/src/initiator.rs @@ -160,7 +160,11 @@ impl PyEdhocInitiator { ) -> PyResult> { let message_4 = EdhocMessageBuffer::new_from_slice(message_4.as_slice())?; - match i_process_message_4(&mut self.wait_m4.take().ok_or(StateMismatch)?, &mut default_crypto(), &message_4) { + match i_process_message_4( + &mut self.wait_m4.take().ok_or(StateMismatch)?, + &mut default_crypto(), + &message_4, + ) { Ok((state, ead_4)) => { self.completed = Some(state); Ok(ead_4) diff --git a/lakers-python/src/responder.rs b/lakers-python/src/responder.rs index c861138c..bb218bd1 100644 --- a/lakers-python/src/responder.rs +++ b/lakers-python/src/responder.rs @@ -140,7 +140,11 @@ impl PyEdhocResponder { py: Python<'a>, ead_4: Option, ) -> PyResult> { - match r_prepare_message_4(&self.processed_m3.take().ok_or(StateMismatch)?, &mut default_crypto(), &ead_4) { + match r_prepare_message_4( + &self.processed_m3.take().ok_or(StateMismatch)?, + &mut default_crypto(), + &ead_4, + ) { Ok((state, message_4)) => { self.completed = Some(state); Ok(PyBytes::new_bound(py, message_4.as_slice()))