Commit 75bf4836 authored by Bastian Köcher's avatar Bastian Köcher
Browse files

Return `PKey<Private>` from `private_key_from_der`

parent f63b9f05
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
    }