chore(internal/providers): simplify OpenVPN config building

This commit is contained in:
Quentin McGaw
2022-04-25 07:57:45 +00:00
parent 4bde50fb3a
commit 7ff14a356c
27 changed files with 596 additions and 1438 deletions

View File

@@ -7,6 +7,10 @@ import (
)
func CipherLines(ciphers []string, version string) (lines []string) {
if len(ciphers) == 0 {
return nil
}
switch version {
case constants.Openvpn24:
return []string{