From 827e31d2b8dde3cdd043584c73ad4cb22220b311 Mon Sep 17 00:00:00 2001 From: Bryan Benson Date: Sun, 18 Feb 2024 18:42:58 -0800 Subject: [PATCH] Correct minor copypasta typos for the pkcs8 and sec1 type debug statements. --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index c725880..943c9ef 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -192,7 +192,7 @@ impl<'a> From> for PrivateSec1KeyDer<'a> { impl fmt::Debug for PrivateSec1KeyDer<'_> { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - f.debug_tuple("PrivatePkcs1KeyDer") + f.debug_tuple("PrivateSec1KeyDer") .field(&"[secret key elided]") .finish() } @@ -234,7 +234,7 @@ impl<'a> From> for PrivatePkcs8KeyDer<'a> { impl fmt::Debug for PrivatePkcs8KeyDer<'_> { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - f.debug_tuple("PrivatePkcs1KeyDer") + f.debug_tuple("PrivatePkcs8KeyDer") .field(&"[secret key elided]") .finish() }