Merge pull request #278 from amousset/tls12

feat(transport): Remove TLS 1.1 in accepted protocols by default
This commit is contained in:
Alexis Mousset
2018-05-06 11:39:33 +02:00
committed by GitHub

View File

@@ -24,8 +24,8 @@ impl ClientTlsParameters {
}
/// Accepted protocols by default.
/// This removes TLS 1.0 compared to tls-native defaults.
pub const DEFAULT_TLS_PROTOCOLS: &[Protocol] = &[Protocol::Tlsv11, Protocol::Tlsv12];
/// This removes TLS 1.0 and 1.1 compared to tls-native defaults.
pub const DEFAULT_TLS_PROTOCOLS: &[Protocol] = &[Protocol::Tlsv12];
#[derive(Debug)]
/// Represents the different types of underlying network streams