chore: remove the usage of some deprecated tls properties

This commit is contained in:
Allo 2024-04-13 13:29:34 +08:00 committed by yuhan6665
parent fc41874508
commit fbc56b88da
6 changed files with 45 additions and 44 deletions

View file

@ -368,8 +368,6 @@ func (c *Config) GetTLSConfig(opts ...Option) *tls.Config {
}
}
config.PreferServerCipherSuites = c.PreferServerCipherSuites
if len(c.MasterKeyLog) > 0 && c.MasterKeyLog != "none" {
writer, err := os.OpenFile(c.MasterKeyLog, os.O_CREATE|os.O_RDWR|os.O_APPEND, 0644)
if err != nil {