diff options
author | Bodo Möller <bodo@openssl.org> | 1999-09-10 15:34:55 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-09-10 15:34:55 +0000 |
commit | 5671876d1db8c5b8476ec8a570660a6e743aaaeb (patch) | |
tree | 300008c507db655b7c5e0ba7540c19b50ac8fc45 /crypto/bio/bss_bio.c | |
parent | 6f7af1524ea4a0eb9bcd0596075cef4bcaf887b1 (diff) |
"make update"
Diffstat (limited to 'crypto/bio/bss_bio.c')
-rw-r--r-- | crypto/bio/bss_bio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/bio/bss_bio.c b/crypto/bio/bss_bio.c index be28472d34..ef4b3454d7 100644 --- a/crypto/bio/bss_bio.c +++ b/crypto/bio/bss_bio.c @@ -400,7 +400,7 @@ static size_t bio_nwrite0(BIO *bio, char **buf) static size_t bio_nwrite(BIO *bio, char **buf, size_t num) { - struct bio_bio_st *b=bio->ptr; + struct bio_bio_st *b; size_t space; space = bio_nwrite0(bio, buf); @@ -408,6 +408,8 @@ static size_t bio_nwrite(BIO *bio, char **buf, size_t num) num = space; if (num <= 0) return num; + b = bio->ptr; + assert(b != NULL); b->len += num; assert(b->len <= b->size); |