diff options
| author | Cyberunner23 <[email protected]> | 2016-01-05 11:23:14 -0500 |
|---|---|---|
| committer | Cyberunner23 <[email protected]> | 2016-01-05 11:23:14 -0500 |
| commit | be23ff3dce1b5360674bc3902b56b7ece7a70970 (patch) | |
| tree | b907bebcd1f72da060950da4507593c8fdc5b345 /openssl-sys/src | |
| parent | Update README doc link (diff) | |
| download | rust-openssl-be23ff3dce1b5360674bc3902b56b7ece7a70970.tar.xz rust-openssl-be23ff3dce1b5360674bc3902b56b7ece7a70970.zip | |
Added PEM_read_bio_RSAPrivateKey and PEM_read_bio_RSA_PUBKEY
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index f780b6d9..22c40d29 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -527,6 +527,9 @@ extern "C" { pub fn PEM_read_bio_PUBKEY(bio: *mut BIO, out: *mut *mut EVP_PKEY, callback: Option<PasswordCallback>, user_data: *mut c_void) -> *mut X509; + pub fn PEM_read_bio_RSAPrivateKey(bio: *mut BIO, rsa: *mut *mut RSA, callback: Option<PasswordCallback>, user_data: *mut c_void) -> *mut RSA; + pub fn PEM_read_bio_RSA_PUBKEY(bio: *mut BIO, rsa: *mut *mut RSA, callback: Option<PasswordCallback>, user_data: *mut c_void) -> *mut RSA; + pub fn PEM_write_bio_PrivateKey(bio: *mut BIO, pkey: *mut EVP_PKEY, cipher: *const EVP_CIPHER, kstr: *mut c_char, klen: c_int, callback: Option<PasswordCallback>, |