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:
Daniel McCarney 2024-04-12 11:05:19 -04:00
parent 06939c2484
commit 50aa4d4a1c
1 changed files with 1 additions and 1 deletions

View File

@ -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,