Fix number of TLS version tests to run.

pull/23608/head
Matthew Stevenson 4 years ago
parent 6ccc298665
commit 25d2b9b102
  1. 2
      test/core/tsi/ssl_transport_security_test.cc

@ -969,7 +969,7 @@ void ssl_tsi_test_extract_cert_chain() {
int main(int argc, char** argv) { int main(int argc, char** argv) {
grpc::testing::TestEnvironment env(argc, argv); grpc::testing::TestEnvironment env(argc, argv);
grpc_init(); grpc_init();
const size_t number_tls_versions = 2; const size_t number_tls_versions = 1;
const tsi_tls_version tls_versions[] = {tsi_tls_version::TSI_TLS1_2}; const tsi_tls_version tls_versions[] = {tsi_tls_version::TSI_TLS1_2};
for (size_t i = 0; i < number_tls_versions; i++) { for (size_t i = 0; i < number_tls_versions; i++) {
// Set the TLS version to be used in the tests. // Set the TLS version to be used in the tests.

Loading…
Cancel
Save