From 62612f3bf9d3d61ef1d23370e68c86243ef8c188 Mon Sep 17 00:00:00 2001 From: Bryan Benson Date: Sun, 18 Feb 2024 18:42:58 -0800 Subject: [PATCH 1/2] 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() } From ffc074a1be42dcb298017cc175a7c5aa0c1591fa Mon Sep 17 00:00:00 2001 From: Joseph Birr-Pixton Date: Mon, 26 Feb 2024 09:21:09 +0000 Subject: [PATCH 2/2] Prepare 1.3.1 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e25e427..e36caf1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustls-pki-types" -version = "1.3.0" +version = "1.3.1" edition = "2021" rust-version = "1.60" license = "MIT OR Apache-2.0"