aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src
diff options
context:
space:
mode:
authorBenjamin Saunders <[email protected]>2018-05-17 03:23:30 -0700
committerBenjamin Saunders <[email protected]>2018-05-17 12:02:32 -0700
commitd5d414b16fe13d65938acd6c601445e1b3e02b55 (patch)
treec4187669b01e1fe4ce45f97d0139611f355f0476 /openssl-sys/src
parentMerge pull request #919 from sfackler/cleanup (diff)
downloadrust-openssl-d5d414b16fe13d65938acd6c601445e1b3e02b55.tar.xz
rust-openssl-d5d414b16fe13d65938acd6c601445e1b3e02b55.zip
Expose max TLS1.3 early data accessors
Diffstat (limited to 'openssl-sys/src')
-rw-r--r--openssl-sys/src/openssl/v111.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/openssl-sys/src/openssl/v111.rs b/openssl-sys/src/openssl/v111.rs
index 8574efc8..e284ff98 100644
--- a/openssl-sys/src/openssl/v111.rs
+++ b/openssl-sys/src/openssl/v111.rs
@@ -82,4 +82,11 @@ extern "C" {
cookie_len: size_t
) -> c_int>
);
+
+ pub fn SSL_CTX_set_max_early_data(ctx: *mut ::SSL_CTX, max_early_data: u32) -> c_int;
+ pub fn SSL_CTX_get_max_early_data(ctx: *const ::SSL_CTX) -> u32;
+ pub fn SSL_set_max_early_data(ctx: *mut ::SSL, max_early_data: u32) -> c_int;
+ pub fn SSL_get_max_early_data(ctx: *const ::SSL) -> u32;
+ pub fn SSL_SESSION_set_max_early_data(ctx: *mut ::SSL_SESSION, max_early_data: u32) -> c_int;
+ pub fn SSL_SESSION_get_max_early_data(ctx: *const ::SSL_SESSION) -> u32;
}