aboutsummaryrefslogtreecommitdiff
path: root/patches/bio.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/bio.h.patch')
-rw-r--r--patches/bio.h.patch24
1 files changed, 13 insertions, 11 deletions
diff --git a/patches/bio.h.patch b/patches/bio.h.patch
index e726e20..29bba0c 100644
--- a/patches/bio.h.patch
+++ b/patches/bio.h.patch
@@ -1,12 +1,12 @@
1--- include/openssl/bio.h.orig 2018-07-24 21:59:17.000000000 -0500 1--- include/openssl/bio.h.orig Fri Feb 18 16:30:39 2022
2+++ include/openssl/bio.h 2018-11-07 18:44:43.000000000 -0600 2+++ include/openssl/bio.h Mon Feb 21 05:39:35 2022
3@@ -713,6 +713,22 @@ 3@@ -666,8 +666,24 @@
4 4
5 /*long BIO_ghbn_ctrl(int cmd,int iarg,char *parg);*/ 5 /*long BIO_ghbn_ctrl(int cmd,int iarg,char *parg);*/
6 6
7+#ifdef __MINGW_PRINTF_FORMAT 7+#ifdef __MINGW_PRINTF_FORMAT
8+int 8 int
9+BIO_printf(BIO *bio, const char *format, ...) 9 BIO_printf(BIO *bio, const char *format, ...)
10+ __attribute__((__format__(__MINGW_PRINTF_FORMAT, 2, 3), __nonnull__(2))); 10+ __attribute__((__format__(__MINGW_PRINTF_FORMAT, 2, 3), __nonnull__(2)));
11+int 11+int
12+BIO_vprintf(BIO *bio, const char *format, va_list args) 12+BIO_vprintf(BIO *bio, const char *format, va_list args)
@@ -20,15 +20,17 @@
20+ __attribute__((__deprecated__, __format__(__MINGW_PRINTF_FORMAT, 3, 0), 20+ __attribute__((__deprecated__, __format__(__MINGW_PRINTF_FORMAT, 3, 0),
21+ __nonnull__(3))); 21+ __nonnull__(3)));
22+#else 22+#else
23 int 23+int
24 BIO_printf(BIO *bio, const char *format, ...) 24+BIO_printf(BIO *bio, const char *format, ...)
25 __attribute__((__format__(__printf__, 2, 3), __nonnull__(2))); 25 __attribute__((__format__(__printf__, 2, 3), __nonnull__(2)));
26@@ -727,6 +743,8 @@ 26 int
27 BIO_vprintf(BIO *bio, const char *format, va_list args)
28@@ -680,6 +696,8 @@
27 BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args) 29 BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
28 __attribute__((__deprecated__, __format__(__printf__, 3, 0), 30 __attribute__((__deprecated__, __format__(__printf__, 3, 0),
29 __nonnull__(3))); 31 __nonnull__(3)));
30+#endif 32+#endif
31+ 33+
32 34
33 /* BEGIN ERROR CODES */ 35 /* BEGIN ERROR CODES */
34 /* The following lines are auto generated by the script mkerr.pl. Any changes 36 /* The following lines are auto generated by the script mkerr.pl. Any changes