diff options
author | Matt Caswell <matt@openssl.org> | 2015-02-02 16:14:03 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-03-26 15:02:00 +0000 |
commit | 24a90afd858634d3fc4aabae6aa7e30020dc87ff (patch) | |
tree | bb569714461cdeefc59f8de7432678eba645d8f1 /ssl/record | |
parent | 88c23039484522457abdf83db2c64e3af6d0d8ca (diff) |
Remove unneccessary use of accessor function now code is moved into record
layer
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl/record')
-rw-r--r-- | ssl/record/s3_pkt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |