summaryrefslogtreecommitdiffstats
path: root/ssl/s3_pkt.c
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2014-05-19 18:21:39 +0100
committerBen Laurie <ben@links.org>2014-05-19 18:21:39 +0100
commitdac3654e2d89d43807e7b8e4b9da86ae1d33fe2b (patch)
tree818df40301f16bc34263c56c47365599e00335a1 /ssl/s3_pkt.c
parent989d87cb1a174a951efd829ff6b2f68a322f9df8 (diff)
Allow the maximum value.
Diffstat (limited to 'ssl/s3_pkt.c')
-rw-r--r--ssl/s3_pkt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c
index ace10b671d..2e188af6a6 100644
--- a/ssl/s3_pkt.c
+++ b/ssl/s3_pkt.c
@@ -584,7 +584,7 @@ int ssl3_write_bytes(SSL *s, int type, const void *buf_, int len)
int i,tot;
s->rwstate=SSL_NOTHING;
- OPENSSL_assert(s->s3->wnum < INT_MAX);
+ OPENSSL_assert(s->s3->wnum <= INT_MAX);
tot=s->s3->wnum;
s->s3->wnum=0;