summaryrefslogtreecommitdiffstats
path: root/crypto/asymmetric_keys/restrict.c
diff options
context:
space:
mode:
authorDavid Howells2016-04-06 17:14:25 +0200
committerDavid Howells2016-04-11 23:42:27 +0200
commit5f7f5c81e59be5ce262c5b7d0ede9565a2558d80 (patch)
tree3ee2a1d54b10aeae4d272cb17e143130fe105b0a /crypto/asymmetric_keys/restrict.c
parentKEYS: Generalise x509_request_asymmetric_key() (diff)
downloadkernel-qcow2-linux-5f7f5c81e59be5ce262c5b7d0ede9565a2558d80.tar.gz
kernel-qcow2-linux-5f7f5c81e59be5ce262c5b7d0ede9565a2558d80.tar.xz
kernel-qcow2-linux-5f7f5c81e59be5ce262c5b7d0ede9565a2558d80.zip
X.509: Use verify_signature() if we have a struct key * to use
We should call verify_signature() rather than directly calling public_key_verify_signature() if we have a struct key to use as we shouldn't be poking around in the private data of the key struct as that's subtype dependent. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'crypto/asymmetric_keys/restrict.c')
0 files changed, 0 insertions, 0 deletions