Remove fallthrough case when setting max TLS version.

pull/24955/head
Matthew Stevenson 4 years ago
parent 3c74038797
commit dfcb4c0b67
  1. 1
      src/core/tsi/ssl_transport_security.cc

@ -926,7 +926,6 @@ static tsi_result tsi_set_min_and_max_tls_versions(
}
// Set the max TLS version of the SSL context.
switch (max_tls_version) {
case tsi_tls_version::TSI_TLS1_2:
#if defined(TLS1_3_VERSION)
case tsi_tls_version::TSI_TLS1_3:
SSL_CTX_set_max_proto_version(ssl_context, TLS1_3_VERSION);

Loading…
Cancel
Save