summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/bio/bio.h9
-rw-r--r--src/lib/libssl/src/crypto/bio/bio.h9
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);
629int BIO_set(BIO *a, BIO_METHOD *type); 629int BIO_set(BIO *a, BIO_METHOD *type);
630int BIO_free(BIO *a); 630int BIO_free(BIO *a);
631void BIO_vfree(BIO *a); 631void BIO_vfree(BIO *a);
632int BIO_read(BIO *b, void *data, int len); 632int BIO_read(BIO *b, void *data, int len)
633int BIO_gets(BIO *bp, char *buf, int size); 633 __attribute__((__bounded__(__buffer__,2,3)));
634int BIO_write(BIO *b, const void *data, int len); 634int BIO_gets(BIO *bp, char *buf, int size)
635 __attribute__((__bounded__ (__string__,2,3)));
636int BIO_write(BIO *b, const void *data, int len)
637 __attribute__((__bounded__(__buffer__,2,3)));
635int BIO_puts(BIO *bp, const char *buf); 638int BIO_puts(BIO *bp, const char *buf);
636int BIO_indent(BIO *b, int indent, int max); 639int BIO_indent(BIO *b, int indent, int max);
637long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg); 640long 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);
629int BIO_set(BIO *a, BIO_METHOD *type); 629int BIO_set(BIO *a, BIO_METHOD *type);
630int BIO_free(BIO *a); 630int BIO_free(BIO *a);
631void BIO_vfree(BIO *a); 631void BIO_vfree(BIO *a);
632int BIO_read(BIO *b, void *data, int len); 632int BIO_read(BIO *b, void *data, int len)
633int BIO_gets(BIO *bp, char *buf, int size); 633 __attribute__((__bounded__(__buffer__,2,3)));
634int BIO_write(BIO *b, const void *data, int len); 634int BIO_gets(BIO *bp, char *buf, int size)
635 __attribute__((__bounded__ (__string__,2,3)));
636int BIO_write(BIO *b, const void *data, int len)
637 __attribute__((__bounded__(__buffer__,2,3)));
635int BIO_puts(BIO *bp, const char *buf); 638int BIO_puts(BIO *bp, const char *buf);
636int BIO_indent(BIO *b, int indent, int max); 639int BIO_indent(BIO *b, int indent, int max);
637long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg); 640long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg);