Commit d8e97cc4 authored by Eric Biggers's avatar Eric Biggers Committed by Chuck Lever
Browse files

SUNRPC: Make RPCSEC_GSS_KRB5 select CRYPTO instead of depending on it



Make RPCSEC_GSS_KRB5 select CRYPTO instead of depending on it.  This
unblocks the eventual removal of the selection of CRYPTO from NFSD_V4,
which will no longer be needed by nfsd itself due to switching to the
crypto library functions.  But NFSD_V4 selects RPCSEC_GSS_KRB5, which
still needs CRYPTO.  It makes more sense for RPCSEC_GSS_KRB5 to select
CRYPTO itself, like most other kconfig options that need CRYPTO do.

Signed-off-by: default avatarEric Biggers <ebiggers@kernel.org>
Acked-by: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 6304affe
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -18,9 +18,10 @@ config SUNRPC_SWAP

config RPCSEC_GSS_KRB5
	tristate "Secure RPC: Kerberos V mechanism"
	depends on SUNRPC && CRYPTO
	depends on SUNRPC
	default y
	select SUNRPC_GSS
	select CRYPTO
	select CRYPTO_SKCIPHER
	select CRYPTO_HASH
	help