SUNRPC: Let Kunit tests run with some enctypes compiled out
authorChuck Lever <chuck.lever@oracle.com>
Mon, 27 Feb 2023 15:58:34 +0000 (10:58 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 27 Feb 2023 21:26:48 +0000 (16:26 -0500)
commitfe90151c3cc6dbc0836723995f65d371ef4ad514
tree5007289b98bd743e70a3ed18773f99d9cfa08d46
parent4b471a8b847b82a3035709dcf87661915c340c8a
SUNRPC: Let Kunit tests run with some enctypes compiled out

Allow the new GSS Kerberos encryption type test suites to run
outside of the kunit infrastructure. Replace the assertion that
fires when lookup_enctype() so that the case is skipped instead of
failing outright.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/auth_gss/gss_krb5_test.c