nfsd: v4 support requires CRYPTO_SHA256
authorScott Mayhew <smayhew@redhat.com>
Tue, 12 Nov 2019 19:01:55 +0000 (14:01 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 12 Nov 2019 19:53:26 +0000 (14:53 -0500)
The new nfsdcld client tracking operations use sha256 to compute hashes
of the kerberos principals, so make sure CRYPTO_SHA256 is enabled.

Fixes: 6ee95d1c8991 ("nfsd: add support for upcall version 2")
Reported-by: Jamie Heilman <jamie@audible.transient.net>
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/Kconfig

index 10cefb0..c4b1a89 100644 (file)
@@ -73,7 +73,7 @@ config NFSD_V4
        select NFSD_V3
        select FS_POSIX_ACL
        select SUNRPC_GSS
-       select CRYPTO
+       select CRYPTO_SHA256
        select GRACE_PERIOD
        help
          This option enables support in your system's NFS server for