mirror of https://github.com/apache/cloudstack.git
S2S VPN: Update the supported crypto list
We would support 3DES, AES128, AES192, AES256.
This commit is contained in:
parent
d3ffb292d2
commit
2ed8c250d0
|
|
@ -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")) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue