mirror of https://github.com/ctz/rustls
Create a newtype wrapper for ResponderId
This commit is contained in:
parent
169f14f757
commit
f457cb1236
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue