]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
- fix suggested by Bernd
authorsashan <anedvedicky@gmail.com>
Mon, 6 Oct 2025 13:27:18 +0000 (15:27 +0200)
committerNeil Horman <nhorman@openssl.org>
Wed, 8 Oct 2025 12:12:11 +0000 (08:12 -0400)
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28759)

(cherry picked from commit 1ec5811d0f9d049d4ffa169d79e63deeb70a251b)

test/bioprinttest.c

index 1de1dd7d9a6ccbc20677d68b2c0f2c76e73bb56b..787fd138e52d6560be7a2efea5502b4a9d8223e5 100644 (file)
@@ -542,7 +542,8 @@ static int test_n(int i)
         ptrdiff_t t;
     } n = { 0 }, std_n = { 0 };
 
-#if defined(_set_printf_count_output)
+#if defined(OPENSSL_SYS_WINDOWS) && !defined(__MINGW32__) && \
+    !defined(__CYGWIN__)
     /*
      * MS CRT is special and throws an exception when %n is used even
      * in non-*_s versions of printf routines, and there is a special function