diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index ace10b671d..2e188af6a6 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;