dtls: Fix debug log

Signed-off-by: Ronald Cron <[email protected]>
This commit is contained in:
Ronald Cron
2026-03-25 08:44:16 +01:00
parent ade56554a6
commit 315c970fbe
+1 -1
View File
@@ -3618,7 +3618,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;
}