SUNRPC: Clean up cipher set up for v1 encryption types
authorChuck Lever <chuck.lever@oracle.com>
Sun, 15 Jan 2023 17:22:17 +0000 (12:22 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 20 Feb 2023 14:20:42 +0000 (09:20 -0500)
commitec4aaab39afcec749ff7ed78e560213ff9e1c23c
tree2dbadcea2292f59641e53d9710d5ad3f22e1af2c
parent2691a27d9b3e6a48adeb87a9dcf4e8a0ca84a26e
SUNRPC: Clean up cipher set up for v1 encryption types

De-duplicate some common code.

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