docker/docker_client.go
func serverDefault() *tls.Config {
	return &tls.Config{
		// Avoid fallback to SSL protocols < TLS1.0
		MinVersion:               tls.VersionTLS10,
		PreferServerCipherSuites: true,
		CipherSuites:             tlsconfig.DefaultServerAcceptedCiphers,
	}
}
func serverDefault() *tls.Config {
	return &tls.Config{
		// Avoid fallback to SSL protocols < TLS1.0
		MinVersion:               tls.VersionTLS10,
		PreferServerCipherSuites: true,
		CipherSuites:             tlsconfig.DefaultServerAcceptedCiphers,
	}
}
func serverDefault ( ) * tls . Config { return & tls . Config { // Avoid fallback to SSL protocols < TLS1.0 MinVersion : tls . VersionTLS10 , PreferServerCipherSuites : true , CipherSuites : tlsconfig . DefaultServerAcceptedCiphers , } }
// this is cloned from docker/go-connections because upstream docker has changed
// it and make deps here fails otherwise.
// We'll drop this once we upgrade to docker 1.13.x deps.
this is cloned from docker / go - connections because upstream docker has changed it and make deps here fails otherwise . We ll drop this once we upgrade to docker 1 . 13 . x deps .