diff options
| author | Steven Fackler <[email protected]> | 2016-11-13 16:52:19 +0000 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2016-11-13 16:52:19 +0000 |
| commit | b0415f466c4b62f949b1e47e6b1e703d1b24122b (patch) | |
| tree | 4cbe8cb2d812d10f22c7ed6ae2617f8fe50ecf62 /openssl-sys/src | |
| parent | Make password callback return a Result (diff) | |
| download | rust-openssl-b0415f466c4b62f949b1e47e6b1e703d1b24122b.tar.xz rust-openssl-b0415f466c4b62f949b1e47e6b1e703d1b24122b.zip | |
Macroise to_der
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 63714b7e..517707c3 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -1761,10 +1761,14 @@ extern { pub fn d2i_X509(a: *mut *mut X509, pp: *mut *const c_uchar, length: c_long) -> *mut X509; pub fn i2d_X509_bio(b: *mut BIO, x: *mut X509) -> c_int; + pub fn i2d_X509(x: *mut X509, buf: *mut *mut u8) -> c_int; 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 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; + pub fn i2d_PrivateKey(k: *mut EVP_PKEY, buf: *mut *mut u8) -> c_int; pub fn i2d_RSA_PUBKEY(k: *mut RSA, buf: *mut *mut u8) -> c_int; pub fn d2i_RSA_PUBKEY(k: *mut *mut RSA, buf: *mut *const u8, len: c_long) -> *mut RSA; |