Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50dd7965 authored by Sebastian Siewior's avatar Sebastian Siewior Committed by David S. Miller
Browse files

[XFRM]: Remove ifdef crypto.



and select the crypto subsystem if neccessary

Signed-off-by: default avatarSebastian Siewior <sebastian@breakpoint.cc>
Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 06eaa1a0
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -3,6 +3,7 @@
#
#
config XFRM
config XFRM
       bool
       bool
       select CRYPTO
       depends on NET
       depends on NET


config XFRM_USER
config XFRM_USER
+0 −2
Original line number Original line Diff line number Diff line
@@ -486,7 +486,6 @@ EXPORT_SYMBOL_GPL(xfrm_ealg_get_byidx);
 */
 */
void xfrm_probe_algs(void)
void xfrm_probe_algs(void)
{
{
#ifdef CONFIG_CRYPTO
	int i, status;
	int i, status;


	BUG_ON(in_softirq());
	BUG_ON(in_softirq());
@@ -511,7 +510,6 @@ void xfrm_probe_algs(void)
		if (calg_list[i].available != status)
		if (calg_list[i].available != status)
			calg_list[i].available = status;
			calg_list[i].available = status;
	}
	}
#endif
}
}
EXPORT_SYMBOL_GPL(xfrm_probe_algs);
EXPORT_SYMBOL_GPL(xfrm_probe_algs);