VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / net / sctp / Kconfig
index d7757c9..9cba49e 100644 (file)
@@ -8,6 +8,10 @@ menu "SCTP Configuration (EXPERIMENTAL)"
 config IP_SCTP
        tristate "The SCTP Protocol (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_MD5 if SCTP_HMAC_MD5
        ---help---
          Stream Control Transmission Protocol
 
@@ -71,18 +75,12 @@ config SCTP_HMAC_NONE
 
 config SCTP_HMAC_SHA1
        bool "HMAC-SHA1"
-       select CRYPTO
-       select CRYPTO_HMAC
-       select CRYPTO_SHA1
        help 
          Enable the use of HMAC-SHA1 during association establishment.  It 
          is advised to use either HMAC-MD5 or HMAC-SHA1.
 
 config SCTP_HMAC_MD5
        bool "HMAC-MD5"
-       select CRYPTO
-       select CRYPTO_HMAC
-       select CRYPTO_MD5
        help
          Enable the use of HMAC-MD5 during association establishment.  It is 
          advised to use either HMAC-MD5 or HMAC-SHA1.