From 00ff4b9a7e1005adb5925a38eaa569587f39fd29 Mon Sep 17 00:00:00 2001 From: Frederik Wedel-Heinen Date: Mon, 16 Oct 2023 14:34:36 +0200 Subject: Removes an mtu assertion that fails Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/22401) --- ssl/statem/statem_dtls.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ssl/statem/statem_dtls.c b/ssl/statem/statem_dtls.c index 97b1af1c0e..25c9b90bab 100644 --- a/ssl/statem/statem_dtls.c +++ b/ssl/statem/statem_dtls.c @@ -256,9 +256,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 -- cgit v1.2.3