summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2024-01-23 14:19:05 +0000
committerHugo Landau <hlandau@openssl.org>2024-02-02 11:50:29 +0000
commita70665852c72a1b6c3f5960ce48f51b83755276d (patch)
tree3ec932a930d1ca2410ab942bf7cd041b5dce435f /ssl
parentde60b122b2f1082d5346f3f51fb7641c47391d71 (diff)
QLOG: Treat empty environment variable as default filter
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')
-rw-r--r--ssl/quic/qlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/quic/qlog.c b/ssl/quic/qlog.c
index 82da15f5d1..b0cb68bdb0 100644
--- a/ssl/quic/qlog.c
+++ b/ssl/quic/qlog.c
@@ -134,7 +134,7 @@ QLOG *ossl_qlog_new_from_env(const QLOG_TRACE_INFO *info)
if (!ossl_qlog_set_sink_filename(qlog, filename))
goto err;
- if (qfilter == NULL)
+ if (qfilter == NULL || qfilter[0] == '\0')
qfilter = "*";
if (!ossl_qlog_set_filter(qlog, qfilter))