Skip to content

Commit

Permalink
lib: export key_pair::RsaKeySize
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cpu committed Mar 15, 2024
1 parent d78f59b commit 55cce06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rcgen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ pub use crl::{
pub use csr::{CertificateSigningRequestParams, PublicKey};
pub use error::{Error, InvalidAsn1String};
use key_pair::PublicKeyData;
#[cfg(all(feature = "crypto", feature = "aws_lc_rs", not(feature = "ring")))]
pub use key_pair::RsaKeySize;
pub use key_pair::{KeyPair, RemoteKeyPair};
#[cfg(feature = "crypto")]
use ring_like::digest;
Expand Down

0 comments on commit 55cce06

Please sign in to comment.