all: Remove or convert deprecated API usages (#8459)

This commit is contained in:
Jakob Borg
2022-07-28 17:14:49 +02:00
committed by GitHub
parent 7e26f74f38
commit 7bdb5faa9c
7 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ func performHandshakeAndValidation(conn *tls.Conn, uri *url.URL) error {
}
cs := conn.ConnectionState()
if !cs.NegotiatedProtocolIsMutual || cs.NegotiatedProtocol != protocol.ProtocolName {
if cs.NegotiatedProtocol != protocol.ProtocolName {
return errors.New("protocol negotiation error")
}