From d663f506dc43752b64db58e9169e2e200b3b4be6 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Mon, 19 May 2014 18:21:39 +0100 Subject: [PATCH] Allow the maximum value. (Backported as a result of PR#3377 reported by Rainer Jung ) --- ssl/s3_pkt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1