diff options
| author | Steven Fackler <[email protected]> | 2018-02-13 17:25:16 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-02-13 17:25:16 -0800 |
| commit | 41598534b6b1119aaa3f81ccdd91d784b4d88bfc (patch) | |
| tree | 78c2e245583cdfedf473907fee1ef4157afe0e8b /openssl-sys/src | |
| parent | Release openssl 0.10.3 and openssl-sys 0.9.25 (diff) | |
| parent | Added binding for PEM_read_bio_RSAPublicKey (diff) | |
| download | rust-openssl-41598534b6b1119aaa3f81ccdd91d784b4d88bfc.tar.xz rust-openssl-41598534b6b1119aaa3f81ccdd91d784b4d88bfc.zip | |
Merge pull request #838 from olehermanse/master
Added binding for PEM_read_bio_RSAPublicKey
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index a260e2a9..52b5eda4 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -2111,6 +2111,14 @@ extern "C" { callback: Option<PasswordCallback>, user_data: *mut c_void, ) -> *mut RSA; + + pub fn PEM_read_bio_RSAPublicKey( + 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, |