aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src/lib.rs
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2015-11-28 16:15:16 -0800
committerSteven Fackler <[email protected]>2015-11-28 16:15:16 -0800
commitbadec803cb9e496e8c6a6ca5a00bbdc3180fb4f6 (patch)
treeb491290d3ed0e2cb5e22876582db083cf82bf46b /openssl-sys/src/lib.rs
parentMerge branch 'release-v0.7.0' into release (diff)
parentRelease v0.7.1 (diff)
downloadrust-openssl-0.7.1.tar.xz
rust-openssl-0.7.1.zip
Merge branch 'release-v0.7.1' into releasev0.7.1
Diffstat (limited to 'openssl-sys/src/lib.rs')
-rw-r--r--openssl-sys/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs
index 018f8bca..0f40bfed 100644
--- a/openssl-sys/src/lib.rs
+++ b/openssl-sys/src/lib.rs
@@ -1,6 +1,6 @@
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
#![allow(dead_code)]
-#![doc(html_root_url="https://sfackler.github.io/rust-openssl/doc/v0.7.0")]
+#![doc(html_root_url="https://sfackler.github.io/rust-openssl/doc/v0.7.1")]
extern crate libc;
@@ -482,6 +482,7 @@ extern "C" {
pub fn RAND_bytes(buf: *mut u8, num: c_int) -> c_int;
+ pub fn RSA_free(rsa: *mut RSA);
pub fn RSA_generate_key(modsz: c_int, e: c_ulong, cb: *const c_void, cbarg: *const c_void) -> *mut RSA;
pub fn RSA_generate_key_ex(rsa: *mut RSA, bits: c_int, e: *mut BIGNUM, cb: *const c_void) -> c_int;
pub fn RSA_private_decrypt(flen: c_int, from: *const u8, to: *mut u8, k: *mut RSA,