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
06939c2484
commit
50aa4d4a1c
|
@ -1072,7 +1072,7 @@ impl TlsListElement for HelloRetryExtension {
|
|||
const SIZE_LEN: ListLength = ListLength::U16;
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct HelloRetryRequest {
|
||||
pub(crate) legacy_version: ProtocolVersion,
|
||||
pub session_id: SessionId,
|
||||
|
|
Loading…
Reference in New Issue