Commit d663f506 authored by Ben Laurie's avatar Ben Laurie Committed by Matt Caswell
Browse files

Allow the maximum value.

(Backported as a result of PR#3377 reported by Rainer Jung <rainer.jung@kippdata.de>)
parent ead67748
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;