diff options
| author | Steven Fackler <[email protected]> | 2017-05-06 16:40:33 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2017-05-06 16:40:33 -0700 |
| commit | 67b5fd1c9750d3434adca8d700e265a5238de3be (patch) | |
| tree | 9d29137337ef254d7488f65163642c249a21cd4c /openssl-sys/src | |
| parent | Add a note to rename variant (diff) | |
| download | rust-openssl-67b5fd1c9750d3434adca8d700e265a5238de3be.tar.xz rust-openssl-67b5fd1c9750d3434adca8d700e265a5238de3be.zip | |
Support public key decode from DER
Closes #629
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 0d03f3be..e3f78cfb 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -2014,6 +2014,7 @@ extern { 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_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; pub fn i2d_PUBKEY(k: *mut EVP_PKEY, buf: *mut *mut u8) -> c_int; |