mirror of https://github.com/ctz/rustls
handshake: derive Clone for HelloRetryRequest
In order to process ECH HRR acceptance it is convenient to be able to clone the `HelloRetryRequest`.
This commit is contained in:
parent
86904117a5
commit
5ce2a49926
|
@ -1072,7 +1072,7 @@ impl TlsListElement for HelloRetryExtension {
|
|||
const SIZE_LEN: ListLength = ListLength::U16;
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct HelloRetryRequest {
|
||||
pub(crate) legacy_version: ProtocolVersion,
|
||||
pub session_id: SessionId,
|
||||
|
|
Loading…
Reference in New Issue