diff options
author | 2014-05-22 15:37:59 +0000 | |
---|---|---|
committer | 2014-05-22 15:37:59 +0000 | |
commit | 65154f78d1ad640ee4748a023af4f6a504633be9 (patch) | |
tree | 6c65c2ba441e1d1d899c57c414ff959134a04bf5 /lib/libssl/src | |
parent | KNF. (diff) | |
download | wireguard-openbsd-65154f78d1ad640ee4748a023af4f6a504633be9.tar.xz wireguard-openbsd-65154f78d1ad640ee4748a023af4f6a504633be9.zip |
mark BIO_snprintf as deprecated, so warnings will be generated for it's
use. ok miod@ tedu@
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/crypto/bio/bio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/src/crypto/bio/bio.h b/lib/libssl/src/crypto/bio/bio.h index ee0afb15533..ee3c1d5d225 100644 --- a/lib/libssl/src/crypto/bio/bio.h +++ b/lib/libssl/src/crypto/bio/bio.h @@ -759,10 +759,10 @@ BIO_vprintf(BIO *bio, const char *format, va_list args) __bio_h__attr__((__format__(__printf__, 2, 0))); int BIO_snprintf(char *buf, size_t n, const char *format, ...) -__bio_h__attr__((__format__(__printf__, 3, 4))); +__bio_h__attr__((deprecated, __format__(__printf__, 3, 4))); int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args) -__bio_h__attr__((__format__(__printf__, 3, 0))); +__bio_h__attr__((deprecated, __format__(__printf__, 3, 0))); #undef __bio_h__attr__ /* BEGIN ERROR CODES */ |