aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2018-05-24 20:14:19 -0700
committerGitHub <[email protected]>2018-05-24 20:14:19 -0700
commitfe37bb7e9b57452e3cd09b078735b4fceef63329 (patch)
treef6bbe8445db4c519bc0bd67d9a1e4e95cf82910f /openssl-sys/src
parentMerge pull request #920 from Ralith/max-early-data-accessors (diff)
parentAdd bindings to SSL_get_finished and SSL_get_peer_finished (diff)
downloadrust-openssl-fe37bb7e9b57452e3cd09b078735b4fceef63329.tar.xz
rust-openssl-fe37bb7e9b57452e3cd09b078735b4fceef63329.zip
Merge pull request #932 from sfackler/get-final
Add bindings to SSL_get_finished and SSL_get_peer_finished
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 bc8f44e1..fda47fd0 100644
--- a/openssl-sys/src/lib.rs
+++ b/openssl-sys/src/lib.rs
@@ -2603,6 +2603,8 @@ extern "C" {
pub fn SSL_is_server(s: *mut SSL) -> c_int;
#[cfg(ossl110f)]
pub fn SSL_is_server(s: *const SSL) -> c_int;
+ pub fn SSL_get_finished(s: *const SSL, buf: *mut c_void, count: size_t) -> size_t;
+ pub fn SSL_get_peer_finished(s: *const SSL, buf: *mut c_void, count: size_t) -> size_t;
pub fn SSL_SESSION_free(s: *mut SSL_SESSION);
pub fn SSL_SESSION_get_id(s: *const SSL_SESSION, len: *mut c_uint) -> *const c_uchar;