summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/bio/bio.h12
-rw-r--r--src/lib/libssl/src/crypto/bio/bio.h12
2 files changed, 14 insertions, 10 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h
index dc9c9b9e14..6868959599 100644
--- a/src/lib/libcrypto/bio/bio.h
+++ b/src/lib/libcrypto/bio/bio.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio.h,v 1.26 2014/07/13 14:13:27 beck Exp $ */ 1/* $OpenBSD: bio.h,v 1.27 2014/07/20 02:24:21 guenther Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -737,16 +737,18 @@ void BIO_copy_next_retry(BIO *b);
737 737
738int 738int
739BIO_printf(BIO *bio, const char *format, ...) 739BIO_printf(BIO *bio, const char *format, ...)
740 __attribute__((__format__(__printf__, 2, 3))); 740 __attribute__((__format__(__printf__, 2, 3), __nonnull__(2)));
741int 741int
742BIO_vprintf(BIO *bio, const char *format, va_list args) 742BIO_vprintf(BIO *bio, const char *format, va_list args)
743 __attribute__((__format__(__printf__, 2, 0))); 743 __attribute__((__format__(__printf__, 2, 0), __nonnull__(2)));
744int 744int
745BIO_snprintf(char *buf, size_t n, const char *format, ...) 745BIO_snprintf(char *buf, size_t n, const char *format, ...)
746 __attribute__((deprecated, __format__(__printf__, 3, 4))); 746 __attribute__((__deprecated__, __format__(__printf__, 3, 4),
747 __nonnull__(3)));
747int 748int
748BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args) 749BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
749 __attribute__((deprecated, __format__(__printf__, 3, 0))); 750 __attribute__((__deprecated__, __format__(__printf__, 3, 0),
751 __nonnull__(3)));
750 752
751/* BEGIN ERROR CODES */ 753/* BEGIN ERROR CODES */
752/* The following lines are auto generated by the script mkerr.pl. Any changes 754/* The following lines are auto generated by the script mkerr.pl. Any changes
diff --git a/src/lib/libssl/src/crypto/bio/bio.h b/src/lib/libssl/src/crypto/bio/bio.h
index dc9c9b9e14..6868959599 100644
--- a/src/lib/libssl/src/crypto/bio/bio.h
+++ b/src/lib/libssl/src/crypto/bio/bio.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio.h,v 1.26 2014/07/13 14:13:27 beck Exp $ */ 1/* $OpenBSD: bio.h,v 1.27 2014/07/20 02:24:21 guenther Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -737,16 +737,18 @@ void BIO_copy_next_retry(BIO *b);
737 737
738int 738int
739BIO_printf(BIO *bio, const char *format, ...) 739BIO_printf(BIO *bio, const char *format, ...)
740 __attribute__((__format__(__printf__, 2, 3))); 740 __attribute__((__format__(__printf__, 2, 3), __nonnull__(2)));
741int 741int
742BIO_vprintf(BIO *bio, const char *format, va_list args) 742BIO_vprintf(BIO *bio, const char *format, va_list args)
743 __attribute__((__format__(__printf__, 2, 0))); 743 __attribute__((__format__(__printf__, 2, 0), __nonnull__(2)));
744int 744int
745BIO_snprintf(char *buf, size_t n, const char *format, ...) 745BIO_snprintf(char *buf, size_t n, const char *format, ...)
746 __attribute__((deprecated, __format__(__printf__, 3, 4))); 746 __attribute__((__deprecated__, __format__(__printf__, 3, 4),
747 __nonnull__(3)));
747int 748int
748BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args) 749BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
749 __attribute__((deprecated, __format__(__printf__, 3, 0))); 750 __attribute__((__deprecated__, __format__(__printf__, 3, 0),
751 __nonnull__(3)));
750 752
751/* BEGIN ERROR CODES */ 753/* BEGIN ERROR CODES */
752/* The following lines are auto generated by the script mkerr.pl. Any changes 754/* The following lines are auto generated by the script mkerr.pl. Any changes