diff options
| author | Steven Fackler <[email protected]> | 2017-06-24 15:24:54 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-06-24 15:24:54 -0700 |
| commit | 7427dd72a64e4648b4a37b26c3806087b7fea135 (patch) | |
| tree | 114765f2c71c000fb44d86e40ef88e7175669a48 /openssl-sys/src | |
| parent | Release v0.9.14 (diff) | |
| parent | Add PKey::private_key_from_der (diff) | |
| download | rust-openssl-7427dd72a64e4648b4a37b26c3806087b7fea135.tar.xz rust-openssl-7427dd72a64e4648b4a37b26c3806087b7fea135.zip | |
Merge pull request #654 from sfackler/pkey-private-key-from-der
Add PKey::private_key_from_der
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 683642dc..ec96c4fb 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -2412,6 +2412,7 @@ extern "C" { pub fn i2d_X509_REQ_bio(b: *mut BIO, x: *mut X509_REQ) -> c_int; pub fn i2d_X509_REQ(x: *mut X509_REQ, buf: *mut *mut u8) -> c_int; + pub fn d2i_AutoPrivateKey(a: *mut *mut EVP_PKEY, pp: *mut *const c_uchar, length: c_long) -> *mut EVP_PKEY; pub fn d2i_PUBKEY(k: *mut *mut EVP_PKEY, buf: *mut *const u8, len: c_long) -> *mut EVP_PKEY; pub fn i2d_PUBKEY_bio(b: *mut BIO, x: *mut EVP_PKEY) -> c_int; pub fn i2d_PrivateKey_bio(b: *mut BIO, x: *mut EVP_PKEY) -> c_int; |