Skip to content

Commit

Permalink
Comment typo (#603)
Browse files Browse the repository at this point in the history
Fixes #562
  • Loading branch information
timothee-haudebourg authored Aug 23, 2024
1 parent 0a939b1 commit 313090a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/jwk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ pub fn serialize_p256(params: &ECParams) -> Result<Vec<u8>, Error> {
Ok(pk_compressed_bytes.to_vec())
}

/// Serialize a P-384 public key as a 33-byte string with point compression.
/// Serialize a P-384 public key as a 49-byte string with point compression.
#[cfg(feature = "secp384r1")]
pub fn serialize_p384(params: &ECParams) -> Result<Vec<u8>, Error> {
// TODO: check that curve is P-384
Expand Down

0 comments on commit 313090a

Please sign in to comment.