diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-09-08 13:42:53 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2024-02-02 11:49:34 +0000 |
commit | fb1a0bb97aa630cd303d9c7c30214483538a57f6 (patch) | |
tree | 201036a356ab55fe4b8f89fdb581131584013b11 /include | |
parent | 407bcc8d55c06d556a1026aa83c62f10f923ebb2 (diff) |
QLOG: Wire title-setting code to QUIC_CHANNEL and SSL_CTX
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/quic_ssl.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/internal/quic_ssl.h b/include/internal/quic_ssl.h index a9822df7df..7a53af7f65 100644 --- a/include/internal/quic_ssl.h +++ b/include/internal/quic_ssl.h @@ -129,6 +129,15 @@ QUIC_CHANNEL *ossl_quic_conn_get_channel(SSL *s); int ossl_quic_has_pending(const SSL *s); int ossl_quic_get_shutdown(const SSL *s); +/* + * Set QLOG diagnostic title. String is copied internally on success and need + * not remain allocated. Only has any effect if logging has not already begun. + * For use by tests only. Setting this on a context affects any QCSO created + * after this is called but does not affect QCSOs already created from a + * context. + */ +int ossl_quic_set_diag_title(SSL_CTX *ctx, const char *title); + # endif #endif |