diff options
author | Frederik Wedel-Heinen <frederik.wedel-heinen@dencrypt.dk> | 2023-10-16 14:34:36 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2024-04-23 11:57:05 +0100 |
commit | 00ff4b9a7e1005adb5925a38eaa569587f39fd29 (patch) | |
tree | eaddaaf85f074998695b90a58f0a0ded54adf4a0 | |
parent | d9b01b9a669e1fc246a183fa39d3ff6feb834a0d (diff) |
Removes an mtu assertion that fails
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22401)
-rw-r--r-- | ssl/statem/statem_dtls.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 |