Commit e996f546 authored by Jose Blaya's avatar Jose Blaya
Browse files

Merge branch '166-rename-ikev2-encryption-algorithms' into 'release/2.2.0'

Resolve "Rename IKEv2 encryption algorithms"

See merge request ios/client-library-apple!223
parents 6df9976d 61bcd6a9
......@@ -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"
......
......@@ -439,10 +439,10 @@ extension Client.Preferences {
queue.append(VPNActionDisconnectAndReinstall())
}
if (ikeV2IntegrityAlgorithm != target.ikeV2IntegrityAlgorithm) {
queue.append(VPNActionDisconnectAndReinstall())
queue.append(VPNActionReinstall())
}
if (ikeV2EncryptionAlgorithm != target.ikeV2EncryptionAlgorithm) {
queue.append(VPNActionDisconnectAndReinstall())
queue.append(VPNActionReinstall())
}
if let configuration = vpnCustomConfigurations[vpnType],
let targetConfiguration = target.activeVPNCustomConfiguration,
......
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