2022-09-06 01:39:41 +02:00
|
|
|
--- include/openssl/bio.h.orig Mon Sep 5 22:30:32 2022
|
|
|
|
+++ include/openssl/bio.h Tue Sep 6 01:38:22 2022
|
|
|
|
@@ -666,8 +666,24 @@ void BIO_copy_next_retry(BIO *b);
|
2022-02-27 05:37:43 -06:00
|
|
|
|
2016-11-06 04:32:16 -06:00
|
|
|
/*long BIO_ghbn_ctrl(int cmd,int iarg,char *parg);*/
|
2022-02-27 05:37:43 -06:00
|
|
|
|
2016-11-06 04:32:16 -06:00
|
|
|
+#ifdef __MINGW_PRINTF_FORMAT
|
2022-02-27 05:37:43 -06:00
|
|
|
int
|
|
|
|
BIO_printf(BIO *bio, const char *format, ...)
|
2016-11-06 04:32:16 -06:00
|
|
|
+ __attribute__((__format__(__MINGW_PRINTF_FORMAT, 2, 3), __nonnull__(2)));
|
|
|
|
+int
|
|
|
|
+BIO_vprintf(BIO *bio, const char *format, va_list args)
|
|
|
|
+ __attribute__((__format__(__MINGW_PRINTF_FORMAT, 2, 0), __nonnull__(2)));
|
|
|
|
+int
|
|
|
|
+BIO_snprintf(char *buf, size_t n, const char *format, ...)
|
|
|
|
+ __attribute__((__deprecated__, __format__(__MINGW_PRINTF_FORMAT, 3, 4),
|
|
|
|
+ __nonnull__(3)));
|
|
|
|
+int
|
|
|
|
+BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
|
|
|
|
+ __attribute__((__deprecated__, __format__(__MINGW_PRINTF_FORMAT, 3, 0),
|
|
|
|
+ __nonnull__(3)));
|
|
|
|
+#else
|
2022-02-27 05:37:43 -06:00
|
|
|
+int
|
|
|
|
+BIO_printf(BIO *bio, const char *format, ...)
|
2018-11-07 20:00:29 -06:00
|
|
|
__attribute__((__format__(__printf__, 2, 3), __nonnull__(2)));
|
2022-02-27 05:37:43 -06:00
|
|
|
int
|
|
|
|
BIO_vprintf(BIO *bio, const char *format, va_list args)
|
2022-09-06 01:39:41 +02:00
|
|
|
@@ -680,6 +696,7 @@ int
|
2016-11-06 04:32:16 -06:00
|
|
|
BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
|
|
|
|
__attribute__((__deprecated__, __format__(__printf__, 3, 0),
|
|
|
|
__nonnull__(3)));
|
|
|
|
+#endif
|
2022-02-27 05:37:43 -06:00
|
|
|
|
2022-09-06 01:39:41 +02:00
|
|
|
void ERR_load_BIO_strings(void);
|
|
|
|
|