Home
last modified time | relevance | path

Searched refs:SslOptions (Results 1 – 4 of 4) sorted by relevance

/third_party/rust/crates/rust-openssl/openssl/src/ssl/
Dconnector.rs11 SslOptions, SslRef, SslStream, SslVerifyMode,
33 let mut opts = SslOptions::ALL in ctx()
34 | SslOptions::NO_COMPRESSION in ctx()
35 | SslOptions::NO_SSLV2 in ctx()
36 | SslOptions::NO_SSLV3 in ctx()
37 | SslOptions::SINGLE_DH_USE in ctx()
38 | SslOptions::SINGLE_ECDH_USE; in ctx()
39 opts &= !SslOptions::DONT_INSERT_EMPTY_FRAGMENTS; in ctx()
236 ctx.set_options(SslOptions::NO_TLSV1 | SslOptions::NO_TLSV1_1); in mozilla_intermediate_v5()
280 ctx.set_options(SslOptions::CIPHER_SERVER_PREFERENCE); in mozilla_intermediate()
[all …]
Dmod.rs146 pub struct SslOptions: SslOptionsRepr {
1111 pub fn set_options(&mut self, option: SslOptions) -> SslOptions { in set_options() argument
1114 SslOptions { bits } in set_options()
1119 pub fn options(&self) -> SslOptions { in options() argument
1121 SslOptions { bits } in options()
1126 pub fn clear_options(&mut self, option: SslOptions) -> SslOptions { in clear_options() argument
1129 SslOptions { bits } in clear_options()
/third_party/rust/crates/rust-openssl/openssl/src/ssl/test/
Dmod.rs33 SslOptions, SslSessionCacheMode, SslStream, SslVerifyMode, StatusType,
262 let opts = ctx.set_options(SslOptions::NO_TICKET); in set_ctx_options()
263 assert!(opts.contains(SslOptions::NO_TICKET)); in set_ctx_options()
270 ctx.set_options(SslOptions::ALL); in clear_ctx_options()
271 let opts = ctx.clear_options(SslOptions::ALL); in clear_ctx_options()
272 assert!(!opts.contains(SslOptions::ALL)); in clear_ctx_options()
936 client.ctx().set_options(super::SslOptions::NO_TLSV1_3); in tmp_dh_callback()
986 client.ctx().set_options(super::SslOptions::NO_TLSV1_3); in tmp_dh_callback_ssl()
1260 use super::SslOptions; in stateless()
1342 client_ctx.clear_options(SslOptions::ENABLE_MIDDLEBOX_COMPAT); in stateless()
[all …]
/third_party/rust/crates/rust-openssl/openssl/
DCHANGELOG.md168 * Added `SslOptions::PRIORITIZE_CHACHA`.
375 * Added `SslOptions::NO_RENEGOTIATION`.
626 * Added `SslOptions::ENABLE_MIDDLEBOX_COMPAT`.
687 * Added `SslOptions::NO_TLSV1_3`. (OpenSSL 1.1.1 only)
784 * Some `ssl::SslOptions` flags have been removed as they no longer do anything.