summaryrefslogtreecommitdiff
path: root/net/sctp/Kconfig
diff options
context:
space:
mode:
authorVlad Yasevich <vladislav.yasevich@hp.com>2007-11-29 17:53:52 +0300
committerVlad Yasevich <vladislav.yasevich@hp.com>2007-11-29 18:17:42 +0300
commitb7e0fe9f81e19c4f2a1369b324c3c062c1738be4 (patch)
treefe9d856c35e3d0ee5bd5acd9bd6b8dad93a3dd50 /net/sctp/Kconfig
parent555d3d5d2be13675490a80df0d7961551822ef1f (diff)
downloadlinux-b7e0fe9f81e19c4f2a1369b324c3c062c1738be4.tar.xz
SCTP: Fix build issues with SCTP AUTH.
SCTP-AUTH requires selection of CRYPTO, HMAC and SHA1 since SHA1 is a MUST requirement for AUTH. We also support SHA256, but that's optional, so fix the code to treat it as such. Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Diffstat (limited to 'net/sctp/Kconfig')
-rw-r--r--net/sctp/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sctp/Kconfig b/net/sctp/Kconfig
index 8210f549c492..5390bc792159 100644
--- a/net/sctp/Kconfig
+++ b/net/sctp/Kconfig
@@ -6,9 +6,9 @@ menuconfig IP_SCTP
tristate "The SCTP Protocol (EXPERIMENTAL)"
depends on INET && EXPERIMENTAL
depends on IPV6 || IPV6=n
- select CRYPTO if SCTP_HMAC_SHA1 || SCTP_HMAC_MD5
- select CRYPTO_HMAC if SCTP_HMAC_SHA1 || SCTP_HMAC_MD5
- select CRYPTO_SHA1 if SCTP_HMAC_SHA1
+ select CRYPTO
+ select CRYPTO_HMAC
+ select CRYPTO_SHA1
select CRYPTO_MD5 if SCTP_HMAC_MD5
---help---
Stream Control Transmission Protocol