]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
test/bioprinttest.c: silence more width/precision checks
authorEugene Syromiatnikov <esyr@openssl.org>
Fri, 12 Sep 2025 15:57:50 +0000 (17:57 +0200)
committerEugene Syromiatnikov <esyr@openssl.org>
Fri, 12 Sep 2025 15:57:50 +0000 (17:57 +0200)
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 <esyr@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28530)

test/bioprinttest.c

index 5623c7c8f21e2ff5d37cc1a4f0dc138dcab0a6fd..bd99b9820ecc02dc5043f36aa1ef2dcc0d7be924 100644 (file)
@@ -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.