mirror of
https://github.com/openssl/openssl.git
synced 2024-12-09 05:51:54 +08:00
Remove unneccessary use of accessor function now code is moved into record
layer Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
88c2303948
commit
24a90afd85
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user