]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Minor fixes
authorHugo Landau <hlandau@openssl.org>
Mon, 29 Jan 2024 14:35:16 +0000 (14:35 +0000)
committerHugo Landau <hlandau@openssl.org>
Fri, 2 Feb 2024 11:50:30 +0000 (11:50 +0000)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037)

ssl/quic/qlog.c
test/recipes/70-test_quic_multistream_data/verify-qlog.py

index ef0946d90584ca6314cfd00cbee5a1a1557a5d1e..e35c7d7b63c78fda58a70d746cfb322007811896 100644 (file)
@@ -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)
index b5e2519b43df28b7b839e7a12f3f00c109d56249..b056bf857cafe67380120ae35abcfe9bdb418d8c 100755 (executable)
@@ -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: