summaryrefslogtreecommitdiff
path: root/include/internal
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2023-02-06 15:56:33 +0000
committerHugo Landau <hlandau@openssl.org>2023-02-22 05:34:06 +0000
commit45bb98bfa223efd3258f445ad443f878011450f0 (patch)
treeeba6d11e84e80467345dc51d54f2208dc76f1802 /include/internal
parentc12e11133625569f5b92a2a78486ecb70cd23df7 (diff)
downloadopenssl-new-45bb98bfa223efd3258f445ad443f878011450f0.tar.gz
Add const to some test tserver functions
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/internal')
-rw-r--r--include/internal/quic_tserver.h8
1 files changed, 4 insertions, 4 deletions
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