summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2021-09-09 12:13:14 +0200
committerJustus Winter <justus@sequoia-pgp.org>2021-09-16 12:10:44 +0200
commit573cf50c4de0102e6b58b7e3f8db27edbb055068 (patch)
treeda4dab0beb3d40948dda54bcf0be2d5b1bddfbaf /openpgp/src/cert.rs
parentfa4caed6d93e4addaf9396940288c83cac636aad (diff)
openpgp: Avoid generating RSA keys longer than 2k in tests.
Diffstat (limited to 'openpgp/src/cert.rs')
-rw-r--r--openpgp/src/cert.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/openpgp/src/cert.rs b/openpgp/src/cert.rs
index f0f51e46..686821d6 100644
--- a/openpgp/src/cert.rs
+++ b/openpgp/src/cert.rs
@@ -5498,12 +5498,10 @@ Pu1xwz57O4zo1VYf6TqHJzVC3OMvMUM2hhdecMUe5x6GorNaj6g=
use crate::packet::signature;
for cs in &[ CipherSuite::Cv25519,
- CipherSuite::RSA3k,
CipherSuite::P256,
CipherSuite::P384,
CipherSuite::P521,
- CipherSuite::RSA2k,
- CipherSuite::RSA4k ]
+ CipherSuite::RSA2k ]
{
let (alice, _) = CertBuilder::new()
.set_cipher_suite(*cs)