Allow the maximum value.

This commit is contained in:
Ben Laurie 2014-05-19 18:21:39 +01:00
parent 989d87cb1a
commit dac3654e2d

View File

@ -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;