SCTP: Fix build issues with SCTP AUTH.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Thu, 29 Nov 2007 14:53:52 +0000 (09:53 -0500)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Thu, 29 Nov 2007 15:17:42 +0000 (10:17 -0500)
commitb7e0fe9f81e19c4f2a1369b324c3c062c1738be4
treefe9d856c35e3d0ee5bd5acd9bd6b8dad93a3dd50
parent555d3d5d2be13675490a80df0d7961551822ef1f
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>
include/net/sctp/constants.h
net/sctp/Kconfig
net/sctp/auth.c