From 5fd23d38d523c3be3138acb4aa2849e271d15b16 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sat, 24 Feb 2018 20:46:03 -0800 Subject: Add the ability to push errors back onto the error stack. --- openssl-sys/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openssl-sys/src') 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; -- cgit v1.2.3