Merge pull request #893 from bkchr/fix_private_key_from_der

Return `PKey<Private>` from `private_key_from_der`
This commit is contained in:
Steven Fackler 2018-04-04 10:04:51 -07:00 committed by GitHub
commit a586bdc940
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -463,7 +463,7 @@ impl PKey<Private> {
/// ///
/// [`d2i_AutoPrivateKey`]: https://www.openssl.org/docs/man1.0.2/crypto/d2i_AutoPrivateKey.html /// [`d2i_AutoPrivateKey`]: https://www.openssl.org/docs/man1.0.2/crypto/d2i_AutoPrivateKey.html
private_key_from_der, private_key_from_der,
PKey<Public>, PKey<Private>,
ffi::d2i_AutoPrivateKey ffi::d2i_AutoPrivateKey
} }