summaryrefslogtreecommitdiffstats
path: root/crypto/bio/bss_bio.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-08-03 08:31:13 +0000
committerBodo Möller <bodo@openssl.org>1999-08-03 08:31:13 +0000
commit316d5cdc85753603a1aad514fd1714c22aff7f13 (patch)
treeea50cd545eef462509077f7da05d426b6e1fc33c /crypto/bio/bss_bio.c
parent4c8319c0f518a8e3e32959b68b69b9007387562c (diff)
comment
Diffstat (limited to 'crypto/bio/bss_bio.c')
-rw-r--r--crypto/bio/bss_bio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/bio/bss_bio.c b/crypto/bio/bss_bio.c
index b6ce509564..99c5cc6d0d 100644
--- a/crypto/bio/bss_bio.c
+++ b/crypto/bio/bss_bio.c
@@ -62,9 +62,10 @@ struct bio_bio_st
size_t size;
char *buf; /* "size" elements (if != NULL) */
- size_t request; /* valid iff peer != NULL; 0 if len != 0;
+ size_t request; /* valid iff peer != NULL; 0 if len != 0,
* otherwise set by peer to number of bytes
- * it (unsuccesfully) tried to read. */
+ * it (unsuccesfully) tried to read,
+ * never more than buffer space (size-len) warrants. */
};
static int bio_new(BIO *bio)