config_legacy_client_ciphers.go 391 B

12345678910111213141516
  1. // +build !go1.5
  2. // Package tlsconfig provides primitives to retrieve secure-enough TLS configurations for both clients and servers.
  3. //
  4. package tlsconfig
  5. import (
  6. "crypto/tls"
  7. )
  8. // Client TLS cipher suites (dropping CBC ciphers for client preferred suite set)
  9. var clientCipherSuites = []uint16{
  10. tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
  11. tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
  12. }