diff options
-rw-r--r-- | src/lib/libcrypto/bio/bio.h | 9 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/bio/bio.h | 9 |
2 files changed, 12 insertions, 6 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h index b64fd44b12..ee0afb1553 100644 --- a/src/lib/libcrypto/bio/bio.h +++ b/src/lib/libcrypto/bio/bio.h | |||
@@ -629,9 +629,12 @@ BIO * BIO_new(BIO_METHOD *type); | |||
629 | int BIO_set(BIO *a, BIO_METHOD *type); | 629 | int BIO_set(BIO *a, BIO_METHOD *type); |
630 | int BIO_free(BIO *a); | 630 | int BIO_free(BIO *a); |
631 | void BIO_vfree(BIO *a); | 631 | void BIO_vfree(BIO *a); |
632 | int BIO_read(BIO *b, void *data, int len); | 632 | int BIO_read(BIO *b, void *data, int len) |
633 | int BIO_gets(BIO *bp, char *buf, int size); | 633 | __attribute__((__bounded__(__buffer__,2,3))); |
634 | int BIO_write(BIO *b, const void *data, int len); | 634 | int BIO_gets(BIO *bp, char *buf, int size) |
635 | __attribute__((__bounded__ (__string__,2,3))); | ||
636 | int BIO_write(BIO *b, const void *data, int len) | ||
637 | __attribute__((__bounded__(__buffer__,2,3))); | ||
635 | int BIO_puts(BIO *bp, const char *buf); | 638 | int BIO_puts(BIO *bp, const char *buf); |
636 | int BIO_indent(BIO *b, int indent, int max); | 639 | int BIO_indent(BIO *b, int indent, int max); |
637 | long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg); | 640 | long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg); |
diff --git a/src/lib/libssl/src/crypto/bio/bio.h b/src/lib/libssl/src/crypto/bio/bio.h index b64fd44b12..ee0afb1553 100644 --- a/src/lib/libssl/src/crypto/bio/bio.h +++ b/src/lib/libssl/src/crypto/bio/bio.h | |||
@@ -629,9 +629,12 @@ BIO * BIO_new(BIO_METHOD *type); | |||
629 | int BIO_set(BIO *a, BIO_METHOD *type); | 629 | int BIO_set(BIO *a, BIO_METHOD *type); |
630 | int BIO_free(BIO *a); | 630 | int BIO_free(BIO *a); |
631 | void BIO_vfree(BIO *a); | 631 | void BIO_vfree(BIO *a); |
632 | int BIO_read(BIO *b, void *data, int len); | 632 | int BIO_read(BIO *b, void *data, int len) |
633 | int BIO_gets(BIO *bp, char *buf, int size); | 633 | __attribute__((__bounded__(__buffer__,2,3))); |
634 | int BIO_write(BIO *b, const void *data, int len); | 634 | int BIO_gets(BIO *bp, char *buf, int size) |
635 | __attribute__((__bounded__ (__string__,2,3))); | ||
636 | int BIO_write(BIO *b, const void *data, int len) | ||
637 | __attribute__((__bounded__(__buffer__,2,3))); | ||
635 | int BIO_puts(BIO *bp, const char *buf); | 638 | int BIO_puts(BIO *bp, const char *buf); |
636 | int BIO_indent(BIO *b, int indent, int max); | 639 | int BIO_indent(BIO *b, int indent, int max); |
637 | long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg); | 640 | long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg); |