]> 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:07:17 +0000 (08:07 -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)

test/bioprinttest.c

index 28730631bc201c040b445f4480442457380eb66a..d4b94599945e882bf5aac1c0031a5daca33ccf1e 100644 (file)
@@ -541,7 +541,8 @@ static int test_n(int i)
         ptrdiff_t t;
     } 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