Merge pull request #993 from wsygog/master

Fix small typo in Rsa documentation
This commit is contained in:
Steven Fackler 2018-09-13 15:45:37 -07:00 committed by GitHub
commit c85871c443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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).
///
/// 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(
n: BigNum,
e: BigNum,