Generalize cipher regex

This commit is contained in:
Davide De Rosa 2019-04-02 17:57:02 +02:00
parent d72b583900
commit e7dadefabb
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ public class ConfigurationParser {
static let remote = NSRegularExpression("^remote +[^ ]+( +\\d+)?( +(udp6?|tcp6?))?")
static let cipher = NSRegularExpression("^cipher +[\\w\\-]+")
static let cipher = NSRegularExpression("^cipher +[^,\\s]+")
static let auth = NSRegularExpression("^auth +[\\w\\-]+")