]> err.no Git - linux-2.6/commitdiff
[XFRM]: Remove ifdef crypto.
authorSebastian Siewior <sebastian@breakpoint.cc>
Wed, 9 Jan 2008 08:36:17 +0000 (00:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:12 +0000 (15:01 -0800)
and select the crypto subsystem if neccessary

Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/Kconfig
net/xfrm/xfrm_algo.c

index 6b5b50f427fc67bcf8c2ed35d6b16c0682081515..8f9dbec319be471688fdc78a4cea4815809406ba 100644 (file)
@@ -3,6 +3,7 @@
 #
 config XFRM
        bool
+       select CRYPTO
        depends on NET
 
 config XFRM_USER
index 1686f64c4352c2ee19d565d54017608474a98b83..b5c5347aed666096c33d0fadbbab0065753ddd08 100644 (file)
@@ -486,7 +486,6 @@ EXPORT_SYMBOL_GPL(xfrm_ealg_get_byidx);
  */
 void xfrm_probe_algs(void)
 {
-#ifdef CONFIG_CRYPTO
        int i, status;
 
        BUG_ON(in_softirq());
@@ -511,7 +510,6 @@ void xfrm_probe_algs(void)
                if (calg_list[i].available != status)
                        calg_list[i].available = status;
        }
-#endif
 }
 EXPORT_SYMBOL_GPL(xfrm_probe_algs);