Skip to content

Commit e8d2ca4

Browse files
author
Sheng Yang
committed
S2S VPN: Update the supported crypto list
We would support 3DES, AES128, AES192, AES256.
1 parent 67941f8 commit e8d2ca4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎utils/src/com/cloud/utils/net/NetUtils.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,7 @@ public static boolean isValidS2SVpnPolicy(String policys) {
10801080
}
10811081
String cipher = list[0];
10821082
String hash = list[1];
1083-
if (!cipher.matches("3des|aes|aes128|aes256")) {
1083+
if (!cipher.matches("3des|aes128|aes192|aes256")) {
10841084
return false;
10851085
}
10861086
if (!hash.matches("md5|sha1")) {

0 commit comments

Comments
 (0)