summaryrefslogtreecommitdiff
path: root/crypto/asymmetric_keys/public_key.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2014-09-16 17:36:06 +0100
committerDavid Howells <dhowells@redhat.com>2014-09-16 17:36:06 +0100
commit1445e76a3cce6ac79812e5bb4b086bb1214e2d91 (patch)
treec34d12e9e4adf93ae255033b5b5ca09a61c92fdd /crypto/asymmetric_keys/public_key.h
parent8353637ee656ec6f2dde104ce636a8c801612be1 (diff)
downloadlinux-crypto-1445e76a3cce6ac79812e5bb4b086bb1214e2d91.tar.gz
linux-crypto-1445e76a3cce6ac79812e5bb4b086bb1214e2d91.zip
KEYS: Remove key_type::match in favour of overriding default by match_preparse
A previous patch added a ->match_preparse() method to the key type. This is allowed to override the function called by the iteration algorithm. Therefore, we can just set a default that simply checks for an exact match of the key description with the original criterion data and allow match_preparse to override it as needed. The key_type::match op is then redundant and can be removed, as can the user_match() function. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com>
Diffstat (limited to 'crypto/asymmetric_keys/public_key.h')
0 files changed, 0 insertions, 0 deletions