From 24a90afd858634d3fc4aabae6aa7e30020dc87ff Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 2 Feb 2015 16:14:03 +0000 Subject: [PATCH] Remove unneccessary use of accessor function now code is moved into record layer Reviewed-by: Richard Levitte --- ssl/record/s3_pkt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/record/s3_pkt.c b/ssl/record/s3_pkt.c index 8b360d6382..b082c037e0 100644 --- a/ssl/record/s3_pkt.c +++ b/ssl/record/s3_pkt.c @@ -306,7 +306,7 @@ int ssl3_read_n(SSL *s, int n, int max, int extend) } /* We always act like read_ahead is set for DTLS */ - if (!RECORD_LAYER_get_read_ahead(&s->rlayer) && !SSL_IS_DTLS(s)) + if (&s->rlayer.read_ahead && !SSL_IS_DTLS(s)) /* ignore max parameter */ max = n; else { -- 2.40.0