From 45bb98bfa223efd3258f445ad443f878011450f0 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 6 Feb 2023 15:56:33 +0000 Subject: Add const to some test tserver functions Reviewed-by: Hugo Landau Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/20030) --- include/internal/quic_tserver.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/internal') diff --git a/include/internal/quic_tserver.h b/include/internal/quic_tserver.h index cf74d87569..f53ec9ffbb 100644 --- a/include/internal/quic_tserver.h +++ b/include/internal/quic_tserver.h @@ -60,15 +60,15 @@ int ossl_quic_tserver_tick(QUIC_TSERVER *srv); /* * Returns 1 if we have finished the TLS handshake */ -int ossl_quic_tserver_is_handshake_confirmed(QUIC_TSERVER *srv); +int ossl_quic_tserver_is_handshake_confirmed(const 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); +int ossl_quic_tserver_is_term_any(const QUIC_TSERVER *srv); -QUIC_TERMINATE_CAUSE ossl_quic_tserver_get_terminate_cause(QUIC_TSERVER *srv); +QUIC_TERMINATE_CAUSE ossl_quic_tserver_get_terminate_cause(const QUIC_TSERVER *srv); /* Returns 1 if the server is in a terminated state */ -int ossl_quic_tserver_is_terminated(QUIC_TSERVER *srv); +int ossl_quic_tserver_is_terminated(const QUIC_TSERVER *srv); /* * Attempts to read from stream 0. Writes the number of bytes read to * *bytes_read and returns 1 on success. If no bytes are available, 0 is written -- cgit v1.2.1