From: Frederik Wedel-Heinen Date: Mon, 16 Oct 2023 12:34:36 +0000 (+0200) Subject: Removes an mtu assertion that fails X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30386820fb095a4dd7735fa75203e90d600119bb;p=thirdparty%2Fopenssl.git Removes an mtu assertion that fails Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/22401) --- diff --git a/ssl/statem/statem_dtls.c b/ssl/statem/statem_dtls.c index ccffe02c226..819d41d3f64 100644 --- a/ssl/statem/statem_dtls.c +++ b/ssl/statem/statem_dtls.c @@ -259,9 +259,11 @@ int dtls1_do_write(SSL_CONNECTION *s, uint8_t type) * because in a production build, if this assert were ever to fail, * then the best thing to do is probably carry on regardless. */ +#if 0 + /* TODO(DTLS-1.3): Re-enable this assert. */ assert(s->s3.tmp.new_compression != NULL || BIO_wpending(s->wbio) <= (int)s->d1->mtu); - +#endif if (type == SSL3_RT_HANDSHAKE && !s->d1->retransmitting) { /* * should not be done for 'Hello Request's, but in that case