diff --git a/Cargo.toml b/Cargo.toml index ca4939b..a4fdd2c 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" diff --git a/src/lib.rs b/src/lib.rs index 1ecb585..047e894 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -207,7 +207,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() } @@ -249,7 +249,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() }