1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

Bump Rust depdenencies

This commit is contained in:
Quentin Gliech
2023-04-18 19:40:53 +02:00
parent 186f0956f0
commit 4baa15bbd3
26 changed files with 950 additions and 694 deletions

View File

@@ -92,7 +92,7 @@ impl<T> MaybeTlsStream<T> {
.negotiated_cipher_suite()
.expect("TLS handshake is not done yet");
let sni_hostname = conn.sni_hostname().map(ToOwned::to_owned);
let sni_hostname = conn.server_name().map(ToOwned::to_owned);
let alpn_protocol = conn.alpn_protocol().map(ToOwned::to_owned);
let peer_certificates = conn.peer_certificates().map(ToOwned::to_owned);
Some(TlsStreamInfo {