Return `PKey<Private>` from `private_key_from_der`

This commit is contained in:
Bastian Köcher 2018-04-04 14:58:52 +02:00
parent f63b9f05a3
commit 75bf48368d
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
private_key_from_der,
PKey<Public>,
PKey<Private>,
ffi::d2i_AutoPrivateKey
}