diff options
| author | Bastian Köcher <[email protected]> | 2018-04-04 14:58:52 +0200 |
|---|---|---|
| committer | Bastian Köcher <[email protected]> | 2018-04-04 14:58:52 +0200 |
| commit | 75bf48368d2a09dcad13248572534652a1baeec1 (patch) | |
| tree | 6986a13861c925315410f7ab85f20f5730e7f5a6 /openssl/src | |
| parent | Merge pull request #892 from oherrala/fix-libressl27 (diff) | |
| download | rust-openssl-75bf48368d2a09dcad13248572534652a1baeec1.tar.xz rust-openssl-75bf48368d2a09dcad13248572534652a1baeec1.zip | |
Return `PKey<Private>` from `private_key_from_der`
Diffstat (limited to 'openssl/src')
| -rw-r--r-- | openssl/src/pkey.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/src/pkey.rs b/openssl/src/pkey.rs index 063e8619..636f1537 100644 --- a/openssl/src/pkey.rs +++ b/openssl/src/pkey.rs @@ -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 } |