Skip to content

Commit

Permalink
hotfix! EAD item None should return None
Browse files Browse the repository at this point in the history
  • Loading branch information
malishav committed Jul 7, 2023
1 parent 42c60a1 commit 398c12a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ead/edhoc-ead-none/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ use edhoc_consts::*;

// initiator side
pub fn i_prepare_ead_1() -> Option<EADItem> {
Some(EADItem::new())
None
}

pub fn i_process_ead_2(ead_2: EADItem) -> Result<(), ()> {
Ok(())
}

pub fn i_prepare_ead_3() -> Option<EADItem> {
Some(EADItem::new())
None
}

// responder side
Expand All @@ -21,7 +21,7 @@ pub fn r_process_ead_1(ead_1: EADItem) -> Result<(), ()> {
}

pub fn r_prepare_ead_2() -> Option<EADItem> {
Some(EADItem::new())
None
}

pub fn r_process_ead_3(ead_3: EADItem) -> Result<(), ()> {
Expand Down

0 comments on commit 398c12a

Please sign in to comment.