Provide CBS_get_last_u8().
authorjsing <jsing@openbsd.org>
Wed, 15 Dec 2021 17:23:34 +0000 (17:23 +0000)
committerjsing <jsing@openbsd.org>
Wed, 15 Dec 2021 17:23:34 +0000 (17:23 +0000)
commita44c0c8f4154c33ce402045c98d32143fc466cfa
tree7ac699fc4c8d40dd44cb255a2b5aacc996fa1cc2
parent1823cafe65caf80f9a4cb5fb7a691e021b9f1232
Provide CBS_get_last_u8().

This will be used in the TLSv1.3 record layer.

From BoringSSL.

ok tb@
lib/libssl/bs_cbs.c
lib/libssl/bytestring.h