Create a newtype wrapper for ResponderId

This commit is contained in:
Dirkjan Ochtman 2023-03-24 13:33:51 +01:00
parent 169f14f757
commit f457cb1236
1 changed files with 3 additions and 1 deletions

View File

@ -478,7 +478,9 @@ impl Codec for PresharedKeyOffer {
}
// --- RFC6066 certificate status request ---
type ResponderIDs = VecU16OfPayloadU16;
wrapped_payload!(ResponderId, PayloadU16,);
declare_u16_vec!(ResponderIDs, ResponderId);
#[derive(Clone, Debug)]
pub struct OCSPCertificateStatusRequest {