diff --git a/src/tls.rs b/src/tls.rs index 89f02e7..02aa6e6 100644 --- a/src/tls.rs +++ b/src/tls.rs @@ -237,12 +237,6 @@ impl TlsSocket { match tls_state { // During WAIT_SH for a TLS client, client should wait for ServerHello TlsState::WAIT_SH => { - // Legacy_protocol must be TLS 1.2 - if repr.version != TlsVersion::Tls12 { - // Abort communication - todo!() - } - // TODO: Validate SH if repr.is_server_hello() { // Check SH content: