summaryrefslogtreecommitdiffstats
path: root/ssl/record/record.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-10-26 10:43:34 +0100
committerMatt Caswell <matt@openssl.org>2016-11-04 12:09:46 +0000
commit54105ddd230c0d77fab91dd3f423b58b2a976de7 (patch)
treed322b8427a0446f63eea2560ec4a4884666fac90 /ssl/record/record.h
parent740bfebaf6d879f051da625d3c583f7cbba8944f (diff)
Rename all "read" variables with "readbytes"
Travis is reporting one file at a time shadowed variable warnings where "read" has been used. This attempts to go through all of libssl and replace "read" with "readbytes" to fix all the problems in one go. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ssl/record/record.h')
-rw-r--r--ssl/record/record.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/record/record.h b/ssl/record/record.h
index bd0a0906a1..e30010d170 100644
--- a/ssl/record/record.h
+++ b/ssl/record/record.h
@@ -222,7 +222,7 @@ int do_ssl3_write(SSL *s, int type, const unsigned char *buf,
int create_empty_fragment, size_t *written);
__owur int ssl3_read_bytes(SSL *s, int type, int *recvd_type,
unsigned char *buf, size_t len, int peek,
- size_t *read);
+ size_t *readbytes);
__owur int ssl3_setup_buffers(SSL *s);
__owur int ssl3_enc(SSL *s, SSL3_RECORD *inrecs, size_t n_recs, int send);
__owur int n_ssl3_mac(SSL *ssl, SSL3_RECORD *rec, unsigned char *md, int send);
@@ -239,7 +239,7 @@ void DTLS_RECORD_LAYER_resync_write(RECORD_LAYER *rl);
void DTLS_RECORD_LAYER_set_write_sequence(RECORD_LAYER *rl, unsigned char *seq);
__owur int dtls1_read_bytes(SSL *s, int type, int *recvd_type,
unsigned char *buf, size_t len, int peek,
- size_t *read);
+ size_t *readbytes);
__owur int dtls1_write_bytes(SSL *s, int type, const void *buf, size_t len,
size_t *written);
int do_dtls1_write(SSL *s, int type, const unsigned char *buf,