mirror of https://github.com/ctz/rustls
Address `clippy::assigning_clones`
This commit is contained in:
parent
85fdfd4a23
commit
0bc3a2eee5
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue