Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: DTLS fragmentation is broken #7825

Closed
Frauschi opened this issue Aug 2, 2024 · 1 comment · Fixed by #7914
Closed

[Bug]: DTLS fragmentation is broken #7825

Frauschi opened this issue Aug 2, 2024 · 1 comment · Fixed by #7914
Assignees
Labels

Comments

@Frauschi
Copy link
Contributor

Frauschi commented Aug 2, 2024

Contact Details

tobias.frauenschlaeger@oth-regensburg.de

Version

master

Description

When enabling DTLS with fragmentation support, the unit tests fail. More specifically, the test 972: test_dtls_frag_ch fails according to the test-suite.log.

Reproduction steps

./configure --enable-all --enable-asn=template --enable-dtls13 --enable-dtls-frag-ch
make
make check

Relevant log output

972: test_dtls_frag_ch                                   :
ERROR - tests/api.c line 83190 failed with:
    expected: wolfSSL_get_error(ssl_c, -1) == WOLFSSL_ERROR_WANT_READ
    result:   -328 != 2

 failed (  0.00295)
@julek-wolfssl
Copy link
Member

Thank you @Frauschi for the report. The issue was that ECH and the ciphersuites were pushing the ClientHello message in the test over the fragmentation limit. #7914 fixes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants