|
|
@ -709,10 +709,7 @@ TEST(AltsTsiHandshakerTest, CheckHandshakerNextFailure) { |
|
|
|
tsi_handshaker* server_handshaker = |
|
|
|
tsi_handshaker* server_handshaker = |
|
|
|
create_test_handshaker(false /* is_client */); |
|
|
|
create_test_handshaker(false /* is_client */); |
|
|
|
// Client start.
|
|
|
|
// Client start.
|
|
|
|
ASSERT_EQ(tsi_handshaker_next( |
|
|
|
ASSERT_EQ(tsi_handshaker_next(client_handshaker, nullptr, 0, nullptr, nullptr, |
|
|
|
client_handshaker, |
|
|
|
|
|
|
|
(const unsigned char*)ALTS_TSI_HANDSHAKER_TEST_RECV_BYTES, |
|
|
|
|
|
|
|
strlen(ALTS_TSI_HANDSHAKER_TEST_RECV_BYTES), nullptr, nullptr, |
|
|
|
|
|
|
|
nullptr, check_must_not_be_called, nullptr), |
|
|
|
nullptr, check_must_not_be_called, nullptr), |
|
|
|
TSI_INTERNAL_ERROR); |
|
|
|
TSI_INTERNAL_ERROR); |
|
|
|
// Server start.
|
|
|
|
// Server start.
|
|
|
|