diff options
author | Hugo Landau <hlandau@openssl.org> | 2024-01-22 14:41:32 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2024-02-02 11:50:03 +0000 |
commit | 9dcad79795a74b1fe7ecb001f9f65f940cfd4848 (patch) | |
tree | 54a62189b8557853af5d00a605c60fbe5bfd0051 /ssl/quic | |
parent | f8fdc73e5be4d595e745a2c4f525c53558d00bf3 (diff) |
QUIC QLOG: Rename QFILTER to OSSL_QFILTER
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 'ssl/quic')
-rw-r--r-- | ssl/quic/qlog.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ssl/quic/qlog.c b/ssl/quic/qlog.c index f374d0c8c7..6cf89e3554 100644 --- a/ssl/quic/qlog.c +++ b/ssl/quic/qlog.c @@ -98,7 +98,7 @@ QLOG *ossl_qlog_new_from_env(const QLOG_TRACE_INFO *info) { QLOG *qlog = NULL; const char *qlogdir = ossl_safe_getenv("QLOGDIR"); - const char *qfilter = ossl_safe_getenv("QFILTER"); + const char *qfilter = ossl_safe_getenv("OSSL_QFILTER"); char qlogdir_sep, *filename = NULL; size_t i, l, strl; @@ -134,7 +134,10 @@ QLOG *ossl_qlog_new_from_env(const QLOG_TRACE_INFO *info) if (!ossl_qlog_set_sink_filename(qlog, filename)) goto err; - if (qfilter != NULL && !ossl_qlog_set_filter(qlog, qfilter)) + if (qfilter == NULL) + qfilter = "*"; + + if (!ossl_qlog_set_filter(qlog, qfilter)) goto err; OPENSSL_free(filename); |