Allow the maximum value.
(Backported as a result of PR#3377 reported by Rainer Jung <rainer.jung@kippdata.de>)
This commit is contained in:
parent
0345354fe0
commit
7697d9b587
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue