summaryrefslogtreecommitdiff
path: root/net/rxrpc/security.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2020-09-16 10:37:29 +0300
committerDavid Howells <dhowells@redhat.com>2020-11-23 21:09:29 +0300
commit12da59fcab5a05d01773e7cb413b8b8f3bb4e334 (patch)
tree3d40fbb68ce1048cbf36fa57daff16666540956b /net/rxrpc/security.c
parentca7fb10059a5755908d46db81d1f3738cd26aa9f (diff)
downloadlinux-12da59fcab5a05d01773e7cb413b8b8f3bb4e334.tar.xz
rxrpc: Hand server key parsing off to the security class
Hand responsibility for parsing a server key off to the security class. We can determine which class from the description. This is necessary as rxgk server keys have different lookup requirements and different content requirements (dependent on crypto type) to those of rxkad server keys. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/security.c')
-rw-r--r--net/rxrpc/security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/security.c b/net/rxrpc/security.c
index bef9971e15cd..50cb5f1ee0c0 100644
--- a/net/rxrpc/security.c
+++ b/net/rxrpc/security.c
@@ -55,7 +55,7 @@ void rxrpc_exit_security(void)
/*
* look up an rxrpc security module
*/
-static const struct rxrpc_security *rxrpc_security_lookup(u8 security_index)
+const struct rxrpc_security *rxrpc_security_lookup(u8 security_index)
{
if (security_index >= ARRAY_SIZE(rxrpc_security_types))
return NULL;