Merge pull request #893 from bkchr/fix_private_key_from_der
Return `PKey<Private>` from `private_key_from_der`
This commit is contained in:
commit
a586bdc940
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue