diff options
author | Brent Cook <bcook@openbsd.org> | 2018-11-07 20:00:29 -0600 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2018-11-07 20:04:11 -0600 |
commit | 11bb39ecf6e58a5e44fc8043004b3f455f30b8fe (patch) | |
tree | 9845ff5edbb4cc370bb5f0ab9c4787668bd46f07 /patches/bio.h.patch | |
parent | 34394e7ee024d2b88bed9c61b9a19bba6ec5e49e (diff) | |
download | portable-11bb39ecf6e58a5e44fc8043004b3f455f30b8fe.tar.gz portable-11bb39ecf6e58a5e44fc8043004b3f455f30b8fe.tar.bz2 portable-11bb39ecf6e58a5e44fc8043004b3f455f30b8fe.zip |
Rediffed patches for merge fuzz
Diffstat (limited to 'patches/bio.h.patch')
-rw-r--r-- | patches/bio.h.patch | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/patches/bio.h.patch b/patches/bio.h.patch index 9bfd43a..e726e20 100644 --- a/patches/bio.h.patch +++ b/patches/bio.h.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | --- include/openssl/bio.h.orig Mon Oct 3 06:09:28 2016 | 1 | --- include/openssl/bio.h.orig 2018-07-24 21:59:17.000000000 -0500 |
2 | +++ include/openssl/bio.h Sun Nov 6 04:24:57 2016 | 2 | +++ include/openssl/bio.h 2018-11-07 18:44:43.000000000 -0600 |
3 | @@ -713,8 +713,24 @@ | 3 | @@ -713,6 +713,22 @@ |
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,11 +20,9 @@ | |||
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 | ||
24 | +BIO_printf(BIO *bio, const char *format, ...) | ||
25 | __attribute__((__format__(__printf__, 2, 3), __nonnull__(2))); | ||
26 | int | 23 | int |
27 | BIO_vprintf(BIO *bio, const char *format, va_list args) | 24 | BIO_printf(BIO *bio, const char *format, ...) |
25 | __attribute__((__format__(__printf__, 2, 3), __nonnull__(2))); | ||
28 | @@ -727,6 +743,8 @@ | 26 | @@ -727,6 +743,8 @@ |
29 | BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args) | 27 | BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args) |
30 | __attribute__((__deprecated__, __format__(__printf__, 3, 0), | 28 | __attribute__((__deprecated__, __format__(__printf__, 3, 0), |