Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
beltram committed Sep 18, 2023
1 parent 13a2069 commit b6cced3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
4 changes: 2 additions & 2 deletions openmls/src/extensions/test_extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async fn ratchet_tree_extension(ciphersuite: Ciphersuite, backend: &impl OpenMls
let bob_add_proposal = alice_group
.create_add_proposal(
framing_parameters,
bob_key_package.clone().into(),
bob_key_package.clone(),
&alice_signature_keys,
)
.expect("Could not create proposal.");
Expand Down Expand Up @@ -159,7 +159,7 @@ async fn ratchet_tree_extension(ciphersuite: Ciphersuite, backend: &impl OpenMls
let bob_add_proposal = alice_group
.create_add_proposal(
framing_parameters,
bob_key_package.clone().into(),
bob_key_package.clone(),
&alice_signature_keys,
)
.expect("Could not create proposal.");
Expand Down
2 changes: 1 addition & 1 deletion openmls/src/framing/test_framing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ async fn unknown_sender(ciphersuite: Ciphersuite, backend: &impl OpenMlsCryptoPr
let bob_add_proposal = group_alice
.create_add_proposal(
framing_parameters,
bob_key_package.clone().into(),
bob_key_package.clone(),
&alice_signature_keys,
)
.expect("Could not create proposal.");
Expand Down
4 changes: 2 additions & 2 deletions openmls/src/group/core_group/test_core_group.rs
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ async fn test_staged_commit_creation(
let bob_add_proposal = alice_group
.create_add_proposal(
framing_parameters,
bob_kpb.key_package().clone().into(),
bob_kpb.key_package().clone(),
&alice_signature_keys,
)
.expect("Could not create proposal.");
Expand Down Expand Up @@ -668,7 +668,7 @@ async fn test_proposal_application_after_self_was_removed(
let bob_add_proposal = alice_group
.create_add_proposal(
framing_parameters,
bob_kpb.key_package().clone().into(),
bob_kpb.key_package().clone(),
&alice_signature_keys,
)
.expect("Could not create proposal");
Expand Down
6 changes: 1 addition & 5 deletions openmls/src/test_utils/test_framework/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -569,11 +569,7 @@ impl MlsGroupTestSetup {
key_packages.push(key_package.into());
}
let (messages, welcome_option, _) = adder
.add_members(
action_type,
&group.group_id,
key_packages.try_into().unwrap(),
)
.add_members(action_type, &group.group_id, key_packages)
.await?;
for message in messages {
self.distribute_to_members(adder_id, group, &message.into())
Expand Down

0 comments on commit b6cced3

Please sign in to comment.