QUIC_TERMINATE_CAUSE *cause);
int ossl_quic_channel_is_active(const QUIC_CHANNEL *ch);
int ossl_quic_channel_is_handshake_complete(const QUIC_CHANNEL *ch);
+int ossl_quic_channel_is_handshake_confirmed(const QUIC_CHANNEL *ch);
SSL *ossl_quic_channel_get0_ssl(QUIC_CHANNEL *ch);
/*
* Returns 1 if we have finished the TLS handshake
*/
-int ossl_quic_tserver_is_handshake_complete(QUIC_TSERVER *srv);
+int ossl_quic_tserver_is_handshake_confirmed(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,
return ch->handshake_complete;
}
+int ossl_quic_channel_is_handshake_confirmed(const QUIC_CHANNEL *ch)
+{
+ return ch->handshake_confirmed;
+}
+
/*
* QUIC Channel: Callbacks from Miscellaneous Subsidiary Components
* ================================================================
return ossl_quic_channel_is_terminated(srv->ch, cause);
}
-int ossl_quic_tserver_is_handshake_complete(QUIC_TSERVER *srv)
+int ossl_quic_tserver_is_handshake_confirmed(QUIC_TSERVER *srv)
{
- return ossl_quic_channel_is_handshake_complete(srv->ch);
+ return ossl_quic_channel_is_handshake_confirmed(srv->ch);
}
int ossl_quic_tserver_read(QUIC_TSERVER *srv,
ossl_quic_tserver_tick(qtserv);
servererr = ossl_quic_tserver_is_term_any(qtserv, NULL);
if (!servererr)
- rets = ossl_quic_tserver_is_handshake_complete(qtserv);
+ rets = ossl_quic_tserver_is_handshake_confirmed(qtserv);
}
if (clienterr && servererr)