Skip to content

Commit

Permalink
Revert "crypto: expose negotiated_cipher_suite in the hadshake data"
Browse files Browse the repository at this point in the history
Temporarily revert a5d9bd1 because
it introduced semver-incompatible change. Will submit as a PR again
after merging.
  • Loading branch information
djc committed Nov 13, 2024
1 parent 2a8b904 commit ca1f2ef
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions quinn-proto/src/crypto/rustls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}))
}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ca1f2ef

Please sign in to comment.