MRP standalone ack messages should not be acknowledged

This commit is contained in:
ivmarkov 2023-04-26 17:28:19 +00:00
parent 4c83112b33
commit cf7fac7631

View file

@ -63,7 +63,7 @@ impl<'a> SecureChannel<'a> {
info!("Received Data:"); info!("Received Data:");
tlv::print_tlv_list(ctx.rx.as_slice()); tlv::print_tlv_list(ctx.rx.as_slice());
let (reply, clone_data) = match proto_opcode { let (reply, clone_data) = match proto_opcode {
OpCode::MRPStandAloneAck => Ok((true, None)), OpCode::MRPStandAloneAck => Ok((false, None)),
OpCode::PBKDFParamRequest => self OpCode::PBKDFParamRequest => self
.pase .pase
.borrow_mut() .borrow_mut()