Skip to content

Commit

Permalink
oups
Browse files Browse the repository at this point in the history
  • Loading branch information
beltram committed Feb 19, 2024
1 parent ef8435d commit 6b93882
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion openmls/src/ciphersuite/mac.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub struct Mac {

impl std::fmt::Debug for Mac {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
write!(f, "{}", std::str::from_utf8(self.mac_value.as_slice()).unwrap_or_default())
write!(f, "{:x?}", self.mac_value.as_slice())
}
}

Expand Down
2 changes: 1 addition & 1 deletion openmls/src/ciphersuite/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub struct Signature {

impl std::fmt::Debug for Signature {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
write!(f, "{}", std::str::from_utf8(self.value.as_slice()).unwrap_or_default())
write!(f, "{:x?}", self.value.as_slice())
}
}

Expand Down
2 changes: 1 addition & 1 deletion openmls/src/extensions/external_pub_extension.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub struct ExternalPubExtension {

impl std::fmt::Debug for ExternalPubExtension {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
write!(f, "{}", std::str::from_utf8(self.external_pub.as_slice()).unwrap_or_default())
write!(f, "{:x?}", self.external_pub.as_slice())
}
}

Expand Down

0 comments on commit 6b93882

Please sign in to comment.