Skip to content

Commit

Permalink
Removes an mtu assertion that fails
Browse files Browse the repository at this point in the history
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #22401)
  • Loading branch information
fwh-dc authored and mattcaswell committed Apr 22, 2024
1 parent 5951ae1 commit b6cc522
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ssl/statem/statem_dtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b6cc522

Please sign in to comment.