S2S VPN: Update the supported crypto list

We would support 3DES, AES128, AES192, AES256.
This commit is contained in:
Sheng Yang 2012-07-30 16:42:40 -07:00
parent d3ffb292d2
commit 2ed8c250d0
1 changed files with 1 additions and 1 deletions

View File

@ -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")) {