Skip to content

Commit

Permalink
fix: typo in supported algorithms
Browse files Browse the repository at this point in the history
  • Loading branch information
JoHaHu committed Nov 18, 2023
1 parent 8b4625a commit 071c87c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jose-jwk/src/crypto/p521.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ impl KeyInfo for PublicKey {
}

fn is_supported(&self, algo: &Algorithm) -> bool {
matches!(algo, Signing(Es384))
matches!(algo, Signing(Es512))
}
}

Expand All @@ -28,7 +28,7 @@ impl KeyInfo for SecretKey {
}

fn is_supported(&self, algo: &Algorithm) -> bool {
matches!(algo, Signing(Es384))
matches!(algo, Signing(Es512))
}
}

Expand Down

0 comments on commit 071c87c

Please sign in to comment.