Skip to content

Commit

Permalink
Fix p521 feature gate (#66)
Browse files Browse the repository at this point in the history
This regression was introduced when k256 was added.
  • Loading branch information
DanGould authored Jul 5, 2024
1 parent 81a7782 commit 1c14d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dhkex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub trait DhKeyExchange {
) -> (Self::PrivateKey, Self::PublicKey);
}

#[cfg(any(feature = "p256", feature = "p384", feature = "k256", feature = "k256"))]
#[cfg(any(feature = "p256", feature = "p384", feature = "p521", feature = "k256"))]
pub(crate) mod ecdh_nist;

#[cfg(feature = "x25519")]
Expand Down

0 comments on commit 1c14d38

Please sign in to comment.