summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2014-08-03 13:54:48 +0200
committerDavid Howells <dhowells@redhat.com>2014-08-03 13:54:48 +0200
commitcf5b50fd2d70fdd907d433bcebaf8d89a9490334 (patch)
tree2c81dd74ca6a1db549c5192e395e4712fcced7b8
parentPKCS#7: X.509 certificate issuer and subject are mandatory fields in the ASN.1 (diff)
downloadlinux-cf5b50fd2d70fdd907d433bcebaf8d89a9490334.tar.xz
linux-cf5b50fd2d70fdd907d433bcebaf8d89a9490334.zip
X.509: Need to export x509_request_asymmetric_key()
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>
-rw-r--r--crypto/asymmetric_keys/x509_public_key.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/asymmetric_keys/x509_public_key.c b/crypto/asymmetric_keys/x509_public_key.c
index da1e5fc85346..f3d62307e6ee 100644
--- a/crypto/asymmetric_keys/x509_public_key.c
+++ b/crypto/asymmetric_keys/x509_public_key.c
@@ -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