diff options
| author | Ole Herman Schumacher Elgesem <[email protected]> | 2018-02-14 02:08:01 +0100 |
|---|---|---|
| committer | Ole Herman Schumacher Elgesem <[email protected]> | 2018-02-14 02:08:01 +0100 |
| commit | 041d473c0a24439684b9976c7affebcaafc3efcf (patch) | |
| tree | 78c2e245583cdfedf473907fee1ef4157afe0e8b /openssl-sys/src/lib.rs | |
| parent | Release openssl 0.10.3 and openssl-sys 0.9.25 (diff) | |
| download | rust-openssl-041d473c0a24439684b9976c7affebcaafc3efcf.tar.xz rust-openssl-041d473c0a24439684b9976c7affebcaafc3efcf.zip | |
Added binding for PEM_read_bio_RSAPublicKey
Signed-off-by: Ole Herman Schumacher Elgesem <[email protected]>
Diffstat (limited to 'openssl-sys/src/lib.rs')
| -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, |