Address `clippy::assigning_clones`

This commit is contained in:
Joseph Birr-Pixton 2024-03-11 13:32:20 +00:00 committed by Joe Birr-Pixton
parent 85fdfd4a23
commit 0bc3a2eee5
1 changed files with 3 additions and 1 deletions

View File

@ -305,7 +305,9 @@ mod client_hello {
if let Some(ref resume) = resumedata {
cx.data.received_resumption_data = Some(resume.application_data.0.clone());
cx.common.peer_certificates = resume.client_cert_chain.clone();
cx.common
.peer_certificates
.clone_from(&resume.client_cert_chain);
}
let full_handshake = resumedata.is_none();