diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-05-24 07:11:40 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-05-24 07:11:40 +0000 |
commit | 6edca8ee69d40dcbd2e6073c8b0e61fa6919a26f (patch) | |
tree | 1ef8e88d41e533ce7fa626495e7dc25c8bc0299a /lib/libcrypto/bio | |
parent | e4e53e213aa28cc1f7d9ef9afdc35c801cf50ee9 (diff) |
Spell ssize_t correctly (the incorrect spelling is ossl_ssize_t).
ok miod@
Diffstat (limited to 'lib/libcrypto/bio')
-rw-r--r-- | lib/libcrypto/bio/bss_bio.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libcrypto/bio/bss_bio.c b/lib/libcrypto/bio/bss_bio.c index 1a17cdf2755..eda2e2a55c2 100644 --- a/lib/libcrypto/bio/bss_bio.c +++ b/lib/libcrypto/bio/bss_bio.c @@ -259,11 +259,11 @@ bio_read(BIO *bio, char *buf, int size_) */ /* WARNING: The non-copying interface is largely untested as of yet * and may contain bugs. */ -static ossl_ssize_t +static ssize_t bio_nread0(BIO *bio, char **buf) { struct bio_bio_st *b, *peer_b; - ossl_ssize_t num; + ssize_t num; BIO_clear_retry_flags(bio); @@ -297,16 +297,16 @@ bio_nread0(BIO *bio, char **buf) return num; } -static ossl_ssize_t +static ssize_t bio_nread(BIO *bio, char **buf, size_t num_) { struct bio_bio_st *b, *peer_b; - ossl_ssize_t num, available; + ssize_t num, available; if (num_ > SSIZE_MAX) num = SSIZE_MAX; else - num = (ossl_ssize_t)num_; + num = (ssize_t)num_; available = bio_nread0(bio, buf); if (num > available) @@ -408,7 +408,7 @@ bio_write(BIO *bio, const char *buf, int num_) * (example usage: bio_nwrite0(), write to buffer, bio_nwrite() * or just bio_nwrite(), write to buffer) */ -static ossl_ssize_t +static ssize_t bio_nwrite0(BIO *bio, char **buf) { struct bio_bio_st *b; @@ -456,16 +456,16 @@ bio_nwrite0(BIO *bio, char **buf) return num; } -static ossl_ssize_t +static ssize_t bio_nwrite(BIO *bio, char **buf, size_t num_) { struct bio_bio_st *b; - ossl_ssize_t num, space; + ssize_t num, space; if (num_ > SSIZE_MAX) num = SSIZE_MAX; else - num = (ossl_ssize_t)num_; + num = (ssize_t)num_; space = bio_nwrite0(bio, buf); if (num > space) |