Skip to content

Commit

Permalink
Fix outdated error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
emlun committed Jun 13, 2024
1 parent c6b4479 commit 269eb6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ctap2/commands/get_assertion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ impl Serialize for HmacGetSecretOrPrf {
match self {
Self::HmacGetSecret(ext) => ext.serialize(s),
Self::PrfUninitialized(_) => Err(serde::ser::Error::custom(
"PrfUninitialized must be replaced with Prf or PrfEmpty before serializing",
"PrfUninitialized must be replaced with Prf or PrfUnmatched before serializing",
)),
Self::PrfUnmatched => unreachable!("PrfEmpty serialization should be skipped"),
Self::PrfUnmatched => unreachable!("PrfUnmatched serialization should be skipped"),
Self::Prf(ext) => ext.serialize(s),
}
}
Expand Down

0 comments on commit 269eb6a

Please sign in to comment.