From 1fe77053a8d0ed3105a1da5ba0c320781eb47cf9 Mon Sep 17 00:00:00 2001 From: Danny McClanahan <1305167+cosmicexplorer@users.noreply.github.com> Date: Mon, 7 Jun 2021 20:55:03 -0700 Subject: [PATCH] [#472] remove Debug from SessionRecord - also add a cheap Debug impl for PrivateKey which leaks no info --- rust/protocol/src/state/session.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/protocol/src/state/session.rs b/rust/protocol/src/state/session.rs index 1807108894..20bd99297f 100644 --- a/rust/protocol/src/state/session.rs +++ b/rust/protocol/src/state/session.rs @@ -466,7 +466,7 @@ impl From<&SessionState> for SessionStructure { } } -#[derive(Clone, Debug)] +#[derive(Clone)] pub struct SessionRecord { current_session: Option, previous_sessions: Vec>,