From ca1f2ef9fe87f90f1ca108a00fb60a41cef367bc Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 11 Nov 2024 11:47:18 +0100 Subject: [PATCH] Revert "crypto: expose negotiated_cipher_suite in the hadshake data" Temporarily revert a5d9bd1154b7644ff22b75191a89db9687546fdb because it introduced semver-incompatible change. Will submit as a PR again after merging. --- quinn-proto/src/crypto/rustls.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/quinn-proto/src/crypto/rustls.rs b/quinn-proto/src/crypto/rustls.rs index 02d26a1c6..d60740bb3 100644 --- a/quinn-proto/src/crypto/rustls.rs +++ b/quinn-proto/src/crypto/rustls.rs @@ -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, - /// The ciphersuite negotiated with the peer - pub negotiated_cipher_suite: CipherSuite, } /// A QUIC-compatible TLS client configuration