aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2018-02-24 20:46:03 -0800
committerSteven Fackler <[email protected]>2018-02-24 20:46:03 -0800
commit5fd23d38d523c3be3138acb4aa2849e271d15b16 (patch)
tree44b0ec1b02d26264e75aa57411a526a2db73cccb /openssl-sys/src
parentMerge pull request #847 from sfackler/version2 (diff)
downloadrust-openssl-5fd23d38d523c3be3138acb4aa2849e271d15b16.tar.xz
rust-openssl-5fd23d38d523c3be3138acb4aa2849e271d15b16.zip
Add the ability to push errors back onto the error stack.
Diffstat (limited to 'openssl-sys/src')
-rw-r--r--openssl-sys/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs
index 3890ea96..cc4b49d3 100644
--- a/openssl-sys/src/lib.rs
+++ b/openssl-sys/src/lib.rs
@@ -1881,6 +1881,8 @@ extern "C" {
pub fn ERR_func_error_string(err: c_ulong) -> *const c_char;
pub fn ERR_reason_error_string(err: c_ulong) -> *const c_char;
pub fn ERR_clear_error();
+ pub fn ERR_put_error(lib: c_int, func: c_int, reason: c_int, file: *const c_char, line: c_int);
+ pub fn ERR_set_error_data(data: *mut c_char, flags: c_int);
pub fn EVP_md5() -> *const EVP_MD;
pub fn EVP_ripemd160() -> *const EVP_MD;