mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
518179f63e
Update to the latest version that contains a fix for CVE-2022-27664;
f3363e06e7
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
17 lines
315 B
Go
17 lines
315 B
Go
// Copyright 2021 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build go1.18
|
|
// +build go1.18
|
|
|
|
package http2
|
|
|
|
import (
|
|
"crypto/tls"
|
|
"net"
|
|
)
|
|
|
|
func tlsUnderlyingConn(tc *tls.Conn) net.Conn {
|
|
return tc.NetConn()
|
|
}
|