diff options
author | Ben Laurie <ben@links.org> | 2014-05-19 18:21:39 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2014-06-12 20:52:30 +0100 |
commit | 7697d9b587a2ed5a33213641bf1030cdac62a9d9 (patch) | |
tree | 02e32f4ea64f153b6308a1424b7789e969d66fc5 /ssl | |
parent | 0345354fe0177e73509b4d2979dc6a5f869e9dc6 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index b516b6f3e1..a419470649 100644 --- a/ssl/s3_pkt.c +++ b/ssl/s3_pkt.c @@ -534,7 +534,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; |