Skip to content

Commit

Permalink
derive Clone for HandshakeComplete
Browse files Browse the repository at this point in the history
  • Loading branch information
mycognosist committed Oct 16, 2023
1 parent 94614ed commit 1bb7906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handshake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ impl Handshake<SendServerAccept> {

/// Type used to group all the values obtained during a successful handshake that can be used to
/// stablish a secure authenticated channel.
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct HandshakeComplete {
pub net_id: auth::Key,
pub pk: ed25519::PublicKey,
Expand Down

0 comments on commit 1bb7906

Please sign in to comment.