mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-03-06 23:44:04 +01:00
DTLS 1.3: allow fragmenting the second ClientHello message
- DTLS 1.3 pqc support - Add --enable-dtls-frag-ch option to enable CH fragmenting - Send an alert when we get an empty keyshare with a cookie present to not allow for multiple HRR in one connection - Only update the DTLS window when we have successfully processed or stored a message - Call ssl->chGoodCb as soon as we have processed a verified full or fragmented ClientHello cookie
This commit is contained in:
@@ -3322,6 +3322,11 @@ THREAD_RETURN WOLFSSL_THREAD server_test(void* args)
|
||||
}
|
||||
#endif /* WOLFSSL_DTLS_CID */
|
||||
|
||||
#ifdef WOLFSSL_DTLS_CH_FRAG
|
||||
if (doDTLS)
|
||||
wolfSSL_dtls13_allow_ch_frag(ssl, 1);
|
||||
#endif
|
||||
|
||||
#ifndef WOLFSSL_CALLBACKS
|
||||
if (nonBlocking) {
|
||||
#ifdef WOLFSSL_DTLS
|
||||
|
||||
Reference in New Issue
Block a user