diff options
| author | Steven Fackler <[email protected]> | 2017-06-23 21:04:13 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2017-06-23 21:04:13 -0700 |
| commit | 575e682da3aa3e55bc415ad44f49417b8be2cecc (patch) | |
| tree | 114765f2c71c000fb44d86e40ef88e7175669a48 /openssl-sys/src/lib.rs | |
| parent | Release v0.9.14 (diff) | |
| download | rust-openssl-575e682da3aa3e55bc415ad44f49417b8be2cecc.tar.xz rust-openssl-575e682da3aa3e55bc415ad44f49417b8be2cecc.zip | |
Add PKey::private_key_from_der
Diffstat (limited to 'openssl-sys/src/lib.rs')
| -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; |