From: David S. Miller Date: Thu, 9 Jan 2003 14:51:36 +0000 (-0800) Subject: [IPSEC]: Dont check algorithm availability unless CONFIG_CRYPTO. X-Git-Tag: v2.5.56~2^2~3^2^2~9^2~3 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=7db515f9b1e8da3bebd9fc4ed7c3b0eef3166ae5;p=history.git [IPSEC]: Dont check algorithm availability unless CONFIG_CRYPTO. --- diff --git a/net/ipv4/xfrm_algo.c b/net/ipv4/xfrm_algo.c index 07744c5a953e..5e68eb16b4b6 100644 --- a/net/ipv4/xfrm_algo.c +++ b/net/ipv4/xfrm_algo.c @@ -314,6 +314,7 @@ void xfrm_probe_algs(void) BUG_ON(in_softirq()); +#ifdef CONFIG_CRYPTO for (i = 0; i < aalg_entries(); i++) { status = crypto_alg_available(aalg_list[i].name, 0); if (aalg_list[i].available != status) @@ -325,6 +326,7 @@ void xfrm_probe_algs(void) if (ealg_list[i].available != status) ealg_list[i].available = status; } +#endif } int xfrm_count_auth_supported(void)