Change dtls1_get_message_header() to take a CBS.
authorjsing <jsing@openbsd.org>
Sat, 4 Sep 2021 14:24:28 +0000 (14:24 +0000)
committerjsing <jsing@openbsd.org>
Sat, 4 Sep 2021 14:24:28 +0000 (14:24 +0000)
commitab5ddd1b3fb2d9af1be6366202432c66048d8b28
treee6a4823370357bf02bec0e89dd4c270107afbf6d
parent7b597b5fe8cc0cd2d96106c2977bc78b01209c2e
Change dtls1_get_message_header() to take a CBS.

The callers know the actual length and can initialise a CBS correctly.

ok inoguchi@ tb@
lib/libssl/d1_both.c
lib/libssl/d1_pkt.c
lib/libssl/dtls_locl.h