X.509: Need to export x509_request_asymmetric_key()
authorDavid Howells <dhowells@redhat.com>
Sun, 3 Aug 2014 11:54:48 +0000 (12:54 +0100)
committerDavid Howells <dhowells@redhat.com>
Sun, 3 Aug 2014 11:54:48 +0000 (12:54 +0100)
Need to export x509_request_asymmetric_key() so that PKCS#7 can use it if
compiled as a module.

Reported-by: James Morris <jmorris@namei.org>
Signed-off-by: David Howells <dhowells@redhat.com>
crypto/asymmetric_keys/x509_public_key.c

index da1e5fc85346686807c90f275782b6920ab21957..f3d62307e6eef7bf507dc78dddc4822739100cf9 100644 (file)
@@ -96,6 +96,7 @@ struct key *x509_request_asymmetric_key(struct key *keyring,
                 key_serial(key_ref_to_ptr(key)));
        return key_ref_to_ptr(key);
 }
+EXPORT_SYMBOL_GPL(x509_request_asymmetric_key);
 
 /*
  * Set up the signature parameters in an X.509 certificate.  This involves