aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/tsi
diff options
context:
space:
mode:
authorGravatar David Benjamin <davidben@google.com>2018-04-12 18:11:45 -0400
committerGravatar David Benjamin <davidben@google.com>2018-04-12 18:14:44 -0400
commit10c2ea3ca298d3e9fe50b64fd466edbe1fbf1b61 (patch)
treedb46205a0d082dd9b7aec5374de3fd31b9827e7d /test/core/tsi
parent342850e3298c0832fb87fb9794c40a387a3b4d04 (diff)
Do not reach into BoringSSL internals.
SSL_SESSION is a private struct and should not be accessed by calling code. There is no need to assert on the reference count in that test; the test already asserts on whether the SSL_SESSION was destroyed.
Diffstat (limited to 'test/core/tsi')
-rw-r--r--test/core/tsi/ssl_session_cache_test.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/core/tsi/ssl_session_cache_test.cc b/test/core/tsi/ssl_session_cache_test.cc
index 72df0e545c..c86cefb3ff 100644
--- a/test/core/tsi/ssl_session_cache_test.cc
+++ b/test/core/tsi/ssl_session_cache_test.cc
@@ -88,7 +88,6 @@ TEST(SslSessionCacheTest, InitialState) {
// Verify session initial state.
{
tsi::SslSessionPtr tmp_sess = tracker.NewSession(1);
- EXPECT_EQ(tmp_sess->references, 1);
EXPECT_TRUE(tracker.IsAlive(1));
EXPECT_EQ(tracker.AliveCount(), 1);
}