projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30f54ad
)
Fix read_ahead issue
author
Matt Caswell
<matt@openssl.org>
Fri, 10 Apr 2015 14:33:45 +0000
(15:33 +0100)
committer
Matt Caswell
<matt@openssl.org>
Fri, 10 Apr 2015 15:21:20 +0000
(16:21 +0100)
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>
ssl/record/rec_layer_s3.c
patch
|
blob
|
history
diff --git
a/ssl/record/rec_layer_s3.c
b/ssl/record/rec_layer_s3.c
index de8dac2115e3d400ce45fae1bee9a186a0f230b7..0ec1d2ca4c207940a4f93a0b61c366953a39bf44 100644
(file)
--- a/
ssl/record/rec_layer_s3.c
+++ b/
ssl/record/rec_layer_s3.c
@@
-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 */
- if (
&
s->rlayer.read_ahead && !SSL_IS_DTLS(s))
+ if (
!
s->rlayer.read_ahead && !SSL_IS_DTLS(s))
/* ignore max parameter */
max = n;
else {