Lines Matching refs:GetTestState
145 static TestState *GetTestState(const SSL *ssl) { in GetTestState() function
300 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeySign()
378 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeyDecrypt()
405 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeyComplete()
508 TestState *test_state = GetTestState(ssl); in InstallCertificate()
533 GetTestState(client_hello->ssl)->early_callback_called = true; in SelectCertificateCallback()
573 GetTestState(client_hello->ssl)->early_callback_ready; in SelectCertificateCallback()
642 if (GetTestConfig(ssl)->async && !GetTestState(ssl)->cert_ready) { in ClientCertCallback()
681 if (!GetTestState(ssl)->cert_ready) { in CertCallback()
702 if (GetTestState(ssl)->cert_verified) { in CheckVerifyCallback()
718 GetTestState(ssl)->cert_verified = true; in CertVerifyCallback()
753 if (GetTestState(ssl)->alpn_select_done) { in AlpnSelectCallback()
758 GetTestState(ssl)->alpn_select_done = true; in AlpnSelectCallback()
833 *out_pkey = GetTestState(ssl)->channel_id.release(); in ChannelIdCallback()
838 TestState *async_state = GetTestState(ssl); in GetSessionCallback()
869 GetTestState(ssl)->handshake_done = true; in InfoCallback()
872 GetTestState(ssl)->ticket_decrypt_done = false; in InfoCallback()
873 GetTestState(ssl)->alpn_select_done = false; in InfoCallback()
878 GetTestState(ssl)->got_new_session = true; in NewSessionCallback()
879 GetTestState(ssl)->new_session.reset(session); in NewSessionCallback()
887 if (GetTestState(ssl)->ticket_decrypt_done) { in TicketKeyCallback()
892 GetTestState(ssl)->ticket_decrypt_done = true; in TicketKeyCallback()
1238 TestState *test_state = GetTestState(ssl); in RetryAsync()
1295 TestState *test_state = GetTestState(ssl); in DoRead()
1521 if (expect_handshake_done != GetTestState(ssl)->handshake_done) { in CheckHandshakeProperties()
1523 GetTestState(ssl)->handshake_done ? "" : " not"); in CheckHandshakeProperties()
1533 if (expect_new_session != GetTestState(ssl)->got_new_session) { in CheckHandshakeProperties()
1536 GetTestState(ssl)->got_new_session ? "" : " not"); in CheckHandshakeProperties()
1542 if (config->expect_session_id && !GetTestState(ssl)->got_new_session) { in CheckHandshakeProperties()
1546 if (config->expect_no_session_id && GetTestState(ssl)->got_new_session) { in CheckHandshakeProperties()
1552 if (config->is_server && !GetTestState(ssl)->early_callback_called) { in CheckHandshakeProperties()
1774 GetTestState(ssl.get())->is_resume = is_resume; in DoConnection()
1946 GetTestState(ssl.get())->packeted_bio = packeted.get(); in DoConnection()
1957 GetTestState(ssl.get())->async_bio = async_scoped.get(); in DoConnection()
1972 GetTestState(ssl.get())->pending_session.reset(session); in DoConnection()
2057 GetTestState(ssl)->got_new_session = false; in DoExchange()
2135 AsyncBioAllowWrite(GetTestState(ssl)->async_bio, 1); in DoExchange()
2190 if (!GetTestState(ssl)->handshake_done && in DoExchange()
2218 GetTestState(ssl)->got_new_session) { in DoExchange()
2226 if (expect_new_session != GetTestState(ssl)->got_new_session) { in DoExchange()
2229 GetTestState(ssl)->got_new_session ? "" : " not"); in DoExchange()
2235 GetTestState(ssl)->new_session->ticket_max_early_data != 0; in DoExchange()
2248 *out_session = std::move(GetTestState(ssl)->new_session); in DoExchange()