4f0d95fa6e
Signed-off-by: Daniel Nephin <dnephin@docker.com>
11 lines
317 B
Go
11 lines
317 B
Go
// +build go1.8
|
|
|
|
package client // import "github.com/docker/docker/client"
|
|
|
|
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()
|
|
}
|