Commit 3f69ef22 authored by Jose Blaya's avatar Jose Blaya
Browse files

Merge branch 'release/2.2.0' into release/2.2.1

parents 5c482e47 a05aa568
......@@ -14,8 +14,8 @@ public enum IKEv2EncryptionAlgorithm: String, EnumsBuilder {
public static let defaultAlgorithm: IKEv2EncryptionAlgorithm = .algorithmAES256GCM
case algorithm3DES = "3DES"
case algorithmAES128 = "AES-128"
case algorithmAES256 = "AES-256"
case algorithmAES128 = "AES-128-CBC"
case algorithmAES256 = "AES-256-CBC"
case algorithmAES128GCM = "AES-128-GCM"
case algorithmAES256GCM = "AES-256-GCM"
......
......@@ -91,8 +91,14 @@ extension NetworkExtensionProfile {
callback?(error)
return
}
vpn.loadFromPreferences { (error) in
callback?(nil)
vpn.saveToPreferences { (error) in
if let error = error {
callback?(error)
return
}
vpn.loadFromPreferences { (error) in
callback?(nil)
}
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment