franziskuskiefer / hpke-rs

Pure Rust implementation of HPKE (https://www.rfc-editor.org/rfc/rfc9180.html)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

swapped formatter

mefsantos opened this issue · comments

I believe the formatter implementation is swapped in HPKEPrivateKey (lines 659 ~ 675)

#[cfg(feature = "hazmat")]
impl std::fmt::Debug for HPKEPrivateKey {
...
     .field("value", &"***")

...


#[cfg(not(feature = "hazmat"))]
impl std::fmt::Debug for HPKEPrivateKey {
...
   .field("value", &self.value)