PKCS#7: Use x509_request_asymmetric_key()
authorDavid Howells <dhowells@redhat.com>
Mon, 28 Jul 2014 13:11:32 +0000 (14:11 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 29 Jul 2014 12:07:58 +0000 (13:07 +0100)
commit5ce43ad28262115a1eab866392f8cfb985094160
treeb89fbce6bb60fcd4dcb2102a11cf084fa6375552
parent185de09c6aa9d38ec04e34b2d9a996561963f895
PKCS#7: Use x509_request_asymmetric_key()

pkcs7_request_asymmetric_key() and x509_request_asymmetric_key() do the same
thing, the latter being a copy of the former created by the IMA folks, so drop
the PKCS#7 version as the X.509 location is more general.

Whilst we're at it, rename the arguments of x509_request_asymmetric_key() to
better reflect what the values being passed in are intended to match on an
X.509 cert.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
crypto/asymmetric_keys/pkcs7_trust.c
crypto/asymmetric_keys/x509_public_key.c
include/crypto/public_key.h