Fix typo in docs for openssl::rsa::Rsa::from_private_components
This commit is contained in:
李伟 2018-09-13 12:39:57 -10:00
parent b09929fd07
commit 348cb7391b
No known key found for this signature in database
GPG Key ID: E68BCABCCECD17D9
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@ impl Rsa<Private> {
/// Creates a new RSA key with private components (public components are assumed). /// Creates a new RSA key with private components (public components are assumed).
/// ///
/// This a convenience method over /// This a convenience method over
/// `Rsa::build(n, e, q)?.set_factors(p, q)?.set_crt_params(dmp1, dmq1, iqmp)?.build()` /// `Rsa::build(n, e, d)?.set_factors(p, q)?.set_crt_params(dmp1, dmq1, iqmp)?.build()`
pub fn from_private_components( pub fn from_private_components(
n: BigNum, n: BigNum,
e: BigNum, e: BigNum,