Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1310991 - Follow-up to fix gtests bustage r=me
  • Loading branch information
Tim Taubert committed Mar 16, 2017
1 parent 6f334b7 commit 3df657f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gtests/ssl_gtest/ssl_fuzz_unittest.cc
Expand Up @@ -314,12 +314,12 @@ FUZZ_P(TlsConnectGeneric, UnencryptedSessionTickets) {
2; /* TLS_EX_SESS_TICKET_VERSION */

// Check the protocol version number.
uint32_t tls_version;
uint32_t tls_version = 0;
EXPECT_TRUE(i1->buffer().Read(offset, sizeof(version_), &tls_version));
EXPECT_EQ(version_, static_cast<decltype(version_)>(tls_version));

// Check the cipher suite.
uint32_t suite;
uint32_t suite = 0;
EXPECT_TRUE(i1->buffer().Read(offset + sizeof(version_), 2, &suite));
client_->CheckCipherSuite(static_cast<uint16_t>(suite));
}
Expand Down

0 comments on commit 3df657f

Please sign in to comment.