summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2022-12-06 16:44:09 +0000
committerHugo Landau <hlandau@openssl.org>2023-02-22 05:34:04 +0000
commitf10e5885f01582c449eff8df70b61c916d9224cf (patch)
tree8aab3996dc831bdf9a5d592dc0c2ceaa73858d5d /include
parent6d1f6933595ea66c2e8367fef01e2824b4f3ce6b (diff)
Add a test for a server that doesn't provide transport params
Check that we fail if the server has failed to provide transport params. Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20030)
Diffstat (limited to 'include')
-rw-r--r--include/internal/quic_tserver.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/internal/quic_tserver.h b/include/internal/quic_tserver.h
index 5cf0804a2d..9d7fab5d12 100644
--- a/include/internal/quic_tserver.h
+++ b/include/internal/quic_tserver.h
@@ -57,8 +57,10 @@ int ossl_quic_tserver_set_handshake_mutator(QUIC_TSERVER *srv,
/* Advances the state machine. */
int ossl_quic_tserver_tick(QUIC_TSERVER *srv);
-/* Returns 1 if we have a (non-terminated) client. */
-int ossl_quic_tserver_is_connected(QUIC_TSERVER *srv);
+/*
+ * Returns 1 if we have finished the TLS handshake
+ */
+int ossl_quic_tserver_is_handshake_complete(QUIC_TSERVER *srv);
/* Returns 1 if the server is in any terminating or terminated state */
int ossl_quic_tserver_is_term_any(QUIC_TSERVER *srv,