added support for User prefered Ciphers

This commit is contained in:
Rahul Somasundaram
2022-09-22 08:28:46 +05:30
parent 91bbb744dc
commit 59d18c6598
4 changed files with 32 additions and 2 deletions

View File

@@ -165,6 +165,9 @@ type TLSConfig struct {
cert tls.Certificate
// DNS names from certificate (SAN) or CN value from Subject
dnsNames []string
// ciphers specified by user
TLSCiphers []string `yaml:"tls_ciphers" json:"-"`
}
// DNSCryptConfig is the DNSCrypt server configuration struct.