Skip to content

Commit

Permalink
PCP-3497 CAPV TLS 1.3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
vishu2498 committed Sep 17, 2024
1 parent 1ea5ffb commit 915b93c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ func GetTLSOptionOverrideFuncs(options TLSOptions) ([]func(*tls.Config), error)
}
tlsOptions = append(tlsOptions, func(cfg *tls.Config) {
cfg.MinVersion = tlsVersion
cfg.CipherSuites = GetDefaultTLSCipherSuits()
cfg.MaxVersion = flags.GetTlsMaxVersion()
if cfg.MaxVersion <= tls.VersionTLS12 {
cfg.CipherSuites = GetDefaultTLSCipherSuits()
Expand Down

0 comments on commit 915b93c

Please sign in to comment.