dtls: Fix debug log

Signed-off-by: Ronald Cron <[email protected]>
This commit is contained in:
Ronald Cron
2026-03-23 19:18:26 +01:00
parent 36d75df56b
commit f8dd49e047
+1 -1
View File
@@ -3910,7 +3910,7 @@ static int ssl_parse_record_header(mbedtls_ssl_context const *ssl,
(
"datagram of length %u too small to hold DTLS record header of length %u",
(unsigned) len,
(unsigned) (rec_hdr_len_len + rec_hdr_len_len)));
(unsigned) (rec_hdr_len_offset + rec_hdr_len_len)));
return MBEDTLS_ERR_SSL_INVALID_RECORD;
}