summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2014-05-19 18:21:39 +0100
committerMatt Caswell <matt@openssl.org>2014-06-12 20:48:40 +0100
commitd663f506dc43752b64db58e9169e2e200b3b4be6 (patch)
treeca7334a51d3e53d8741f27213810b0265c76e85d /ssl
parentead6774804a3e464b16f9c72df8840803224466b (diff)
Allow the maximum value.
(Backported as a result of PR#3377 reported by Rainer Jung <rainer.jung@kippdata.de>)
Diffstat (limited to 'ssl')
-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 2f03040347..391e09d968 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;