diff options
author | Martin Willi <martin@revosec.ch> | 2014-07-04 10:14:13 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2014-07-04 10:18:12 +0200 |
commit | 839951097ca3cb6e9bddddf0dffa2039369a9074 (patch) | |
tree | d84e46eda7b7afcecc3f2588e76d45a530a99ba6 /src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c | |
parent | 118b2879aa0c1b3750576d581dd0f79a3fe8cb41 (diff) | |
download | strongswan-839951097ca3cb6e9bddddf0dffa2039369a9074.tar.bz2 strongswan-839951097ca3cb6e9bddddf0dffa2039369a9074.tar.xz |
kernel-netlink: Rename algorithm identifier from cast128 to cast5
Even if the XFRM identifier was named cast128 in the kernel before 2.6.31, it
actually never worked, because there is no such crypto algorithm.
The identifier has been changed to cast5 in
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=245acb87
to make it work, so we should use that.
Fixes #633.
Diffstat (limited to 'src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c')
-rw-r--r-- | src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c b/src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c index 55c2f344e..d9b55cfa7 100644 --- a/src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c +++ b/src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c @@ -177,7 +177,7 @@ static kernel_algorithm_t encryption_algs[] = { {ENCR_3DES, "des3_ede" }, /* {ENCR_RC5, "***" }, */ /* {ENCR_IDEA, "***" }, */ - {ENCR_CAST, "cast128" }, + {ENCR_CAST, "cast5" }, {ENCR_BLOWFISH, "blowfish" }, /* {ENCR_3IDEA, "***" }, */ /* {ENCR_DES_IV32, "***" }, */ |