diff options
author | Matt Caswell <matt@openssl.org> | 2023-02-06 15:56:33 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-02-22 05:34:06 +0000 |
commit | 45bb98bfa223efd3258f445ad443f878011450f0 (patch) | |
tree | eba6d11e84e80467345dc51d54f2208dc76f1802 /include | |
parent | c12e11133625569f5b92a2a78486ecb70cd23df7 (diff) |
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')
-rw-r--r-- | include/internal/quic_tserver.h | 8 |
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 |