diff options
| author | Steven Fackler <[email protected]> | 2018-02-24 20:58:07 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-02-24 20:58:07 -0800 |
| commit | cebfbd9a25afb69ecd644b82cf5155557f654953 (patch) | |
| tree | cfe369de845465105658b4f39cd49017955af85c /openssl-sys/src | |
| parent | Merge pull request #849 from sfackler/key-export (diff) | |
| parent | Add the ability to push errors back onto the error stack. (diff) | |
| download | rust-openssl-cebfbd9a25afb69ecd644b82cf5155557f654953.tar.xz rust-openssl-cebfbd9a25afb69ecd644b82cf5155557f654953.zip | |
Merge pull request #850 from sfackler/put-error
Add the ability to push errors back onto the error stack.
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 2b297143..7f3af1d7 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; |