diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-04-18 19:30:55 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-05-12 14:47:12 +0100 |
commit | 723cbe8a73fe3644bb4d8f20d475e57f44955b54 (patch) | |
tree | ac9407bf6e13d8165a592cedddacea494dc162bc /include/internal/quic_tserver.h | |
parent | b89c81e43b88c48d7cb5ce48665bab6c36ae02ac (diff) | |
download | openssl-new-723cbe8a73fe3644bb4d8f20d475e57f44955b54.tar.gz |
QUIC CHANNEL: Do not copy terminate cause as it is not modified after termination
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20765)
Diffstat (limited to 'include/internal/quic_tserver.h')
-rw-r--r-- | include/internal/quic_tserver.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/internal/quic_tserver.h b/include/internal/quic_tserver.h index fd657049ab..89879b01b7 100644 --- a/include/internal/quic_tserver.h +++ b/include/internal/quic_tserver.h @@ -71,7 +71,8 @@ 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(const QUIC_TSERVER *srv); -QUIC_TERMINATE_CAUSE ossl_quic_tserver_get_terminate_cause(const QUIC_TSERVER *srv); +const 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(const QUIC_TSERVER *srv); |