From 2ed8c250d0f9c247a7bc1613e976d8393e7a5328 Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Mon, 30 Jul 2012 16:42:40 -0700 Subject: [PATCH] S2S VPN: Update the supported crypto list We would support 3DES, AES128, AES192, AES256. --- utils/src/com/cloud/utils/net/NetUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/src/com/cloud/utils/net/NetUtils.java b/utils/src/com/cloud/utils/net/NetUtils.java index 8e35822fbd7..5676fda8be2 100755 --- a/utils/src/com/cloud/utils/net/NetUtils.java +++ b/utils/src/com/cloud/utils/net/NetUtils.java @@ -1120,7 +1120,7 @@ public class NetUtils { } String cipher = list[0]; String hash = list[1]; - if (!cipher.matches("3des|aes|aes128|aes256")) { + if (!cipher.matches("3des|aes128|aes192|aes256")) { return false; } if (!hash.matches("md5|sha1")) {