chore(internal/providers): simplify OpenVPN config building
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user