diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2021-09-16 11:16:37 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2021-09-16 12:51:19 +0200 |
commit | 22071cfb1324ef87e2ad2ee8c38c3b5e1a1375d4 (patch) | |
tree | cd02b666190a98335227da4a3920078308a0db90 /openpgp/src/types | |
parent | 0944942b3402314c2b3fd6822eb1e09e0b5ccf52 (diff) |
openpgp: Don't assert that the NIST curves are supported.
Diffstat (limited to 'openpgp/src/types')
-rw-r--r-- | openpgp/src/types/mod.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/openpgp/src/types/mod.rs b/openpgp/src/types/mod.rs index 09b79f9d..deec8203 100644 --- a/openpgp/src/types/mod.rs +++ b/openpgp/src/types/mod.rs @@ -478,8 +478,6 @@ impl Curve { /// use sequoia_openpgp as openpgp; /// use openpgp::types::Curve; /// - /// assert!(Curve::NistP256.is_supported()); - /// assert!(Curve::NistP384.is_supported()); /// assert!(Curve::Ed25519.is_supported()); /// assert!(!Curve::Unknown(Box::new([0x2B, 0x11])).is_supported()); /// ``` |