From: Eugene Syromiatnikov Date: Fri, 12 Sep 2025 15:57:50 +0000 (+0200) Subject: test/bioprinttest.c: silence more width/precision checks X-Git-Tag: 4.0-PRE-CLANG-FORMAT-WEBKIT~510 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c3046657e712240e8e931ca5bfe528684f95fb3;p=thirdparty%2Fopenssl.git test/bioprinttest.c: silence more width/precision checks Apparently, old glibc also can't handle width/precision specifiers; silence the checks that test for it by setting .skip_libc_check to 1. Fixes: a29d157fdb6d "Replace homebrewed implementation of *printf*() functions with libc" Signed-off-by: Eugene Syromiatnikov Reviewed-by: Neil Horman Reviewed-by: Saša Nedvědický (Merged from https://github.com/openssl/openssl/pull/28530) --- diff --git a/test/bioprinttest.c b/test/bioprinttest.c index 5623c7c8f21..bd99b9820ec 100644 --- a/test/bioprinttest.c +++ b/test/bioprinttest.c @@ -198,14 +198,14 @@ static const struct int_data { .skip_libc_ret_check = true, .exp_ret = -1 }, { { .i = 0x1337 }, AT_INT, "|%2147483639.x|", "| ", - .skip_libc_ret_check = true, .exp_ret = -1 }, + .skip_libc_check = true, .exp_ret = -1 }, #if !defined(OPENSSL_SYS_WINDOWS) /* * those test crash on x86 windows built by VS-2019 */ { { .i = 0x1337 }, AT_INT, "|%.2147483639x|", "|00000000000000000000000000000000000000000000000000000000000000", - .skip_libc_ret_check = true, .exp_ret = -1 }, + .skip_libc_check = true, .exp_ret = -1 }, /* * We treat the following three format strings as errneous and bail out * mid-string.