summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert
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
parentfa4caed6d93e4addaf9396940288c83cac636aad (diff)
openpgp: Avoid generating RSA keys longer than 2k in tests.
Diffstat (limited to 'openpgp/src/cert')
-rw-r--r--openpgp/src/cert/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/cert/builder.rs b/openpgp/src/cert/builder.rs
index d5172f20..7f8812f7 100644
--- a/openpgp/src/cert/builder.rs
+++ b/openpgp/src/cert/builder.rs
@@ -392,7 +392,7 @@ impl CertBuilder<'_> {
///
/// let (rsa, _) =
/// CertBuilder::general_purpose(None, Some("alice@example.org"))
- /// .set_cipher_suite(CipherSuite::RSA4k)
+ /// .set_cipher_suite(CipherSuite::RSA2k)
/// .generate()?;
/// assert_eq!(rsa.primary_key().pk_algo(), PublicKeyAlgorithm::RSAEncryptSign);
/// # Ok(())