Skip to content

Commit

Permalink
fix deserialization issue in ciphersuite_deserialize (#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
mimoo authored Dec 4, 2023
1 parent 221c089 commit 6d82adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frost-core/src/serialization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ where
C: Ciphersuite,
{
if deserializer.is_human_readable() {
let s: &str = serde::de::Deserialize::deserialize(deserializer)?;
let s: String = serde::de::Deserialize::deserialize(deserializer)?;
if s != C::ID {
Err(serde::de::Error::custom("wrong ciphersuite"))
} else {
Expand Down

0 comments on commit 6d82adf

Please sign in to comment.