From 041d473c0a24439684b9976c7affebcaafc3efcf Mon Sep 17 00:00:00 2001 From: Ole Herman Schumacher Elgesem Date: Wed, 14 Feb 2018 02:08:01 +0100 Subject: Added binding for PEM_read_bio_RSAPublicKey Signed-off-by: Ole Herman Schumacher Elgesem --- openssl-sys/src/lib.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'openssl-sys/src') 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, user_data: *mut c_void, ) -> *mut RSA; + + pub fn PEM_read_bio_RSAPublicKey( + bio: *mut BIO, + rsa: *mut *mut RSA, + callback: Option, + user_data: *mut c_void, + ) -> *mut RSA; + pub fn PEM_read_bio_RSA_PUBKEY( bio: *mut BIO, rsa: *mut *mut RSA, -- cgit v1.2.3