From a1ec4338464ed0cfcbdb3648841ca64f90d15ac4 Mon Sep 17 00:00:00 2001 From: Sridhar Samudrala Date: Tue, 17 Feb 2004 01:37:27 -0800 Subject: [SCTP] Force enable Crypto options that are needed by SCTP config. --- net/sctp/Kconfig | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/net/sctp/Kconfig b/net/sctp/Kconfig index 061e989ebe42..24cfb6015802 100644 --- a/net/sctp/Kconfig +++ b/net/sctp/Kconfig @@ -74,13 +74,19 @@ config SCTP_HMAC_NONE establishment. It is advised to use either HMAC-MD5 or HMAC-SHA1. config SCTP_HMAC_SHA1 - bool "HMAC-SHA1" if CRYPTO_HMAC=y && CRYPTO_SHA1=y || CRYPTO_SHA1=m + 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" if CRYPTO_HMAC=y && CRYPTO_MD5=y || CRYPTO_MD5=m + 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. -- cgit v1.2.3