server: make TLS 1.3 state fields explicitly private

This commit is contained in:
Dirkjan Ochtman 2021-04-16 09:15:40 +02:00
parent c427701096
commit a7a6318cd2
1 changed files with 12 additions and 12 deletions

View File

@ -719,12 +719,12 @@ mod client_hello {
}
struct ExpectCertificate {
pub transcript: HandshakeHash,
pub suite: &'static SupportedCipherSuite,
pub randoms: ConnectionRandoms,
pub key_schedule: KeyScheduleTrafficWithClientFinishedPending,
pub send_ticket: bool,
pub hash_at_server_fin: Digest,
transcript: HandshakeHash,
suite: &'static SupportedCipherSuite,
randoms: ConnectionRandoms,
key_schedule: KeyScheduleTrafficWithClientFinishedPending,
send_ticket: bool,
hash_at_server_fin: Digest,
}
impl hs::State for ExpectCertificate {
@ -883,12 +883,12 @@ fn get_server_session_value(
}
struct ExpectFinished {
pub transcript: HandshakeHash,
pub suite: &'static SupportedCipherSuite,
pub randoms: ConnectionRandoms,
pub key_schedule: KeyScheduleTrafficWithClientFinishedPending,
pub send_ticket: bool,
pub hash_at_server_fin: Digest,
transcript: HandshakeHash,
suite: &'static SupportedCipherSuite,
randoms: ConnectionRandoms,
key_schedule: KeyScheduleTrafficWithClientFinishedPending,
send_ticket: bool,
hash_at_server_fin: Digest,
}
impl ExpectFinished {