We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cipherSuites
fingerprint
1 parent e2ad0ac commit c18b39eCopy full SHA for c18b39e
1 file changed
transport/internet/tls/config.go
@@ -450,9 +450,13 @@ func (c *Config) GetTLSConfig(opts ...Option) *tls.Config {
450
for _, s := range tls.CipherSuites() {
451
id[s.Name] = s.ID
452
}
453
+ for _, s := range tls.InsecureCipherSuites() {
454
+ id[s.Name] = s.ID
455
+ }
456
for n := range strings.SplitSeq(c.CipherSuites, ":") {
- if id[n] != 0 {
- config.CipherSuites = append(config.CipherSuites, id[n])
457
+ n = strings.TrimSpace(n)
458
+ if v, ok := id[n]; ok {
459
+ config.CipherSuites = append(config.CipherSuites, v)
460
461
462
0 commit comments