From ea71906ed7437671c434fccddc8c4c41bb3aeb51 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 7 Mar 2016 12:11:42 +0000 Subject: [PATCH] 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 --- ssl/record/ssl3_record.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssl/record/ssl3_record.c b/ssl/record/ssl3_record.c index a85ec6ce16..49ba00b490 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)); /* -- 2.40.0