changes done as per review comments

This commit is contained in:
Rahul Somasundaram
2022-10-05 00:12:53 +05:30
parent 24eb3476db
commit 15b19ff726
5 changed files with 41 additions and 22 deletions

View File

@@ -166,8 +166,10 @@ type TLSConfig struct {
// DNS names from certificate (SAN) or CN value from Subject
dnsNames []string
// ciphers specified by user
TLSCiphers []string `yaml:"tls_ciphers" json:"-"`
// OverrideTLSCiphers holds the cipher names. If the slice is empty
// default set of ciphers are used for https listener, else this is
// considered.
OverrideTLSCiphers []string `yaml:"override_tls_ciphers" json:"-"`
}
// DNSCryptConfig is the DNSCrypt server configuration struct.