mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
128cefc3bd
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
11 lines
276 B
Go
11 lines
276 B
Go
// +build go1.8
|
|
|
|
package transport
|
|
|
|
import "crypto/tls"
|
|
|
|
// TLSConfigClone returns a clone of tls.Config. This function is provided for
|
|
// compatibility for go1.7 that doesn't include this method in stdlib.
|
|
func TLSConfigClone(c *tls.Config) *tls.Config {
|
|
return c.Clone()
|
|
}
|