aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-03-07 12:11:42 +0000
committerMatt Caswell <matt@openssl.org>2016-03-07 21:42:09 +0000
commitea71906ed7437671c434fccddc8c4c41bb3aeb51 (patch)
treee19aa0cb20e156bcec7fd28be6be41a7d0b90bb1
parente38c2e8535bec4660c00c8394ff181d622bd41bd (diff)
downloadopenssl-ea71906ed7437671c434fccddc8c4c41bb3aeb51.zip
openssl-ea71906ed7437671c434fccddc8c4c41bb3aeb51.tar.gz
openssl-ea71906ed7437671c434fccddc8c4c41bb3aeb51.tar.bz2
Rename a function
Rename the have_whole_app_data_record_waiting() function to include the ssl3_record prefix...and make it a bit shorter. Reviewed-by: Tim Hudson <tjh@openssl.org>
-rw-r--r--ssl/record/ssl3_record.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/record/ssl3_record.c b/ssl/record/ssl3_record.c
index a85ec6c..49ba00b 100644
--- a/ssl/record/ssl3_record.c
+++ b/ssl/record/ssl3_record.c
@@ -167,7 +167,7 @@ void SSL3_RECORD_set_seq_num(SSL3_RECORD *r, const unsigned char *seq_num)
* Peeks ahead into "read_ahead" data to see if we have a whole record waiting
* for us in the buffer.
*/
-static int have_whole_app_data_record_waiting(SSL *s)
+static int ssl3_record_app_data_waiting(SSL *s)
{
SSL3_BUFFER *rbuf;
int left, len;
@@ -425,7 +425,7 @@ int ssl3_get_record(SSL *s)
&& s->enc_read_ctx != NULL
&& (EVP_CIPHER_flags(EVP_CIPHER_CTX_cipher(s->enc_read_ctx))
& EVP_CIPH_FLAG_PIPELINE)
- && have_whole_app_data_record_waiting(s));
+ && ssl3_record_app_data_waiting(s));
/*