Fix read_ahead issue
Fix a "&" that should have been "!" when processing read_ahead. RT#3793 Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
30f54ad295
commit
4118dfdcc8
@ -380,7 +380,7 @@ int ssl3_read_n(SSL *s, int n, int max, int extend)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* We always act like read_ahead is set for DTLS */
|
/* We always act like read_ahead is set for DTLS */
|
||||||
if (&s->rlayer.read_ahead && !SSL_IS_DTLS(s))
|
if (!s->rlayer.read_ahead && !SSL_IS_DTLS(s))
|
||||||
/* ignore max parameter */
|
/* ignore max parameter */
|
||||||
max = n;
|
max = n;
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user