Do not set custom bio size in ssl_transport_security_test when openssl version < 1.1.0 (#29286)

* fix ssl tests

* remove boringssl check
pull/29299/head
yihuaz 3 years ago committed by GitHub
parent f688f5fcf2
commit 91cf96c6ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/core/tsi/ssl_transport_security_test.cc

@ -1044,8 +1044,10 @@ void ssl_tsi_test_do_handshake_with_custom_bio_pair() {
tsi_test_fixture* fixture = ssl_tsi_test_fixture_create();
ssl_tsi_test_fixture* ssl_fixture =
reinterpret_cast<ssl_tsi_test_fixture*>(fixture);
#if OPENSSL_VERSION_NUMBER >= 0x10100000
ssl_fixture->network_bio_buf_size = TSI_TEST_DEFAULT_BUFFER_SIZE;
ssl_fixture->ssl_bio_buf_size = 256;
#endif
ssl_fixture->force_client_auth = true;
tsi_test_do_handshake(fixture);
tsi_test_fixture_destroy(fixture);

Loading…
Cancel
Save