From: Milan Broz Date: Tue, 28 Apr 2026 21:06:05 +0000 (+0200) Subject: Replace one missing snprint with BIO_snprintf X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ece45f05e8676d4faa06a88e4da88c00a0978944;p=thirdparty%2Fopenssl.git Replace one missing snprint with BIO_snprintf Older compilers like MSVC 2013 do not support it. Reviewed-by: Eugene Syromiatnikov Reviewed-by: Nikola Pajkovsky Reviewed-by: Paul Dale MergeDate: Thu Apr 30 06:49:22 2026 (Merged from https://github.com/openssl/openssl/pull/31019) --- diff --git a/test/threadstest.c b/test/threadstest.c index f1c78373fbb..8dcb3f1afe7 100644 --- a/test/threadstest.c +++ b/test/threadstest.c @@ -1372,7 +1372,7 @@ static void test_obj_create_worker(void) for (i = 0; i < 4; i++) { now = time(NULL); - snprintf(name, sizeof(name), "Time in Seconds = %ld", (long)now); + BIO_snprintf(name, sizeof(name), "Time in Seconds = %ld", (long)now); while (now == time(NULL)) /* no-op */; nid = OBJ_create(NULL, NULL, name);