]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
SUNRPC: Make RPCSEC_GSS_KRB5 select CRYPTO instead of depending on it
authorEric Biggers <ebiggers@kernel.org>
Sat, 6 Sep 2025 23:00:19 +0000 (16:00 -0700)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 1 Oct 2025 19:54:01 +0000 (15:54 -0400)
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: Eric Biggers <ebiggers@kernel.org>
Acked-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/Kconfig

index 2d8b67dac7b5b58a8a86c3022dd573746fb22547..33aafdc8392e39d8dab65ea36a4436779463f804 100644 (file)
@@ -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