diff options
| author | Rohit Aggarwal <[email protected]> | 2018-03-08 16:12:35 +0000 |
|---|---|---|
| committer | Rohit Aggarwal <[email protected]> | 2018-03-08 16:12:35 +0000 |
| commit | d4de2a408f578e6f974468dc448c0c63030087e0 (patch) | |
| tree | 9617d0b1a71fbce2921f8850eab11bb74b6a6465 /openssl-sys/src | |
| parent | Add support LibreSSL and remove OpenSSL binding which we aren't using (diff) | |
| download | rust-openssl-d4de2a408f578e6f974468dc448c0c63030087e0.tar.xz rust-openssl-d4de2a408f578e6f974468dc448c0c63030087e0.zip | |
Use examples listed in OpenSSL docs for testing
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 4a73ff7f..564c7eae 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -1879,8 +1879,8 @@ extern "C" { pub fn ECDSA_SIG_new() -> *mut ECDSA_SIG; pub fn ECDSA_SIG_free(sig: *mut ECDSA_SIG); pub fn ECDSA_do_verify(dgst: *const c_uchar, dgst_len: c_int, - sig: *const ECDSA_SIG, eckey: *mut ::EC_KEY) -> c_int; - pub fn ECDSA_do_sign(dgst: *const c_uchar, dgst_len: c_int, eckey: *mut ::EC_KEY) -> *mut ECDSA_SIG; + sig: *const ECDSA_SIG, eckey: *mut EC_KEY) -> c_int; + pub fn ECDSA_do_sign(dgst: *const c_uchar, dgst_len: c_int, eckey: *mut EC_KEY) -> *mut ECDSA_SIG; pub fn ERR_peek_last_error() -> c_ulong; pub fn ERR_get_error() -> c_ulong; |