mirror of https://github.com/ctz/rustls
server: make TLS 1.3 state fields explicitly private
This commit is contained in:
parent
c427701096
commit
a7a6318cd2
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue