Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from openssl#22037)
  • Loading branch information
hlandau authored and Sashan committed Feb 12, 2024
1 parent c2fee0b commit 689a6ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ssl/quic/qlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ QLOG *ossl_qlog_new_from_env(const QLOG_TRACE_INFO *info)
for (i = 0; i < info->odcid.id_len; ++i)
l += sprintf(filename + l, "%02x", info->odcid.id[i]);

l += snprintf(filename + l, strl - l, "_%s.sqlog",
info->is_server ? "server" : "client");
l += BIO_snprintf(filename + l, strl - l, "_%s.sqlog",
info->is_server ? "server" : "client");

qlog = ossl_qlog_new(info);
if (qlog == NULL)
Expand Down
2 changes: 1 addition & 1 deletion test/recipes/70-test_quic_multistream_data/verify-qlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def run():
"connectivity:connection_closed"
)

if num_files < 500:
if num_files < 300:
raise Unexpected(qlogdir, f"unexpectedly few output files: {num_files}")

for required_event in required_events:
Expand Down

0 comments on commit 689a6ca

Please sign in to comment.