Skip to content

Commit 0d9b642

Browse files
committed
lib: export key_pair::RsaKeySize
The new `KeyPair::generate_rsa_for` fn is only usable if the `key_pair::RsaKeySize` type is exported from `lib.rs` since `key_pair` is a private module.
1 parent 1b86b70 commit 0d9b642

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rcgen/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ pub use crl::{
5959
pub use csr::{CertificateSigningRequestParams, PublicKey};
6060
pub use error::{Error, InvalidAsn1String};
6161
use key_pair::PublicKeyData;
62+
#[cfg(all(feature = "crypto", feature = "aws_lc_rs", not(feature = "ring")))]
63+
pub use key_pair::RsaKeySize;
6264
pub use key_pair::{KeyPair, RemoteKeyPair};
6365
#[cfg(feature = "crypto")]
6466
use ring_like::digest;

0 commit comments

Comments
 (0)