mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-19 01:36:08 +00:00
Revert "crypto: expose negotiated_cipher_suite in the hadshake data"
Temporarily revert a5d9bd1154 because
it introduced semver-incompatible change. Will submit as a PR again
after merging.
This commit is contained in:
@@ -64,11 +64,6 @@ impl crypto::Session for TlsSession {
|
||||
Connection::Client(_) => None,
|
||||
Connection::Server(ref session) => session.server_name().map(|x| x.into()),
|
||||
},
|
||||
negotiated_cipher_suite: self
|
||||
.inner
|
||||
.negotiated_cipher_suite()
|
||||
.expect("cipher is negotiated")
|
||||
.suite(),
|
||||
}))
|
||||
}
|
||||
|
||||
@@ -261,8 +256,6 @@ pub struct HandshakeData {
|
||||
///
|
||||
/// Always `None` for outgoing connections
|
||||
pub server_name: Option<String>,
|
||||
/// The ciphersuite negotiated with the peer
|
||||
pub negotiated_cipher_suite: CipherSuite,
|
||||
}
|
||||
|
||||
/// A QUIC-compatible TLS client configuration
|
||||
|
||||
Reference in New Issue
Block a user