Prevent crypto aead from failing to build with 2.6.24 targets (#4426)
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.24 / 975-crypto_kconfig_hacks.patch
diff --git a/target/linux/generic-2.6/patches-2.6.24/975-crypto_kconfig_hacks.patch b/target/linux/generic-2.6/patches-2.6.24/975-crypto_kconfig_hacks.patch
new file mode 100644 (file)
index 0000000..ec3fdc6
--- /dev/null
@@ -0,0 +1,30 @@
+--- linux-2.6.24.7/crypto/Kconfig      2008-05-07 01:22:34.000000000 +0200
++++ linux-2.6.24.7.new/crypto/Kconfig  2009-01-06 12:14:43.000000000 +0100
+@@ -20,7 +20,7 @@
+ if CRYPTO
+ config CRYPTO_ALGAPI
+-      tristate
++      tristate "ALG API"
+       help
+         This option provides the API for cryptographic algorithms.
+@@ -29,15 +29,15 @@
+       select CRYPTO_BLKCIPHER
+ config CRYPTO_AEAD
+-      tristate
++      tristate "AEAD"
+       select CRYPTO_ALGAPI
+ config CRYPTO_BLKCIPHER
+-      tristate
++      tristate "Block cipher"
+       select CRYPTO_ALGAPI
+ config CRYPTO_HASH
+-      tristate
++      tristate "HASH"
+       select CRYPTO_ALGAPI
+ config CRYPTO_MANAGER