SUNRPC: Remove another switch on ctx->enctype
authorChuck Lever <chuck.lever@oracle.com>
Sun, 15 Jan 2023 17:21:26 +0000 (12:21 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 20 Feb 2023 14:20:35 +0000 (09:20 -0500)
commit279a67cdd491a53028eb0b52508383098c6d992b
tree950ed57ba2931bdbf2a38e298ea6440afc264df1
parente01b2c79f4af1298b961116aba3e64367fe73286
SUNRPC: Remove another switch on ctx->enctype

Replace another switch on encryption type so that it does not have
to be modified when adding or removing support for an enctype.

Tested-by: Scott Mayhew <smayhew@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/gss_krb5.h
net/sunrpc/auth_gss/gss_krb5_mech.c