summaryrefslogtreecommitdiff
path: root/crypto/asymmetric_keys/x509_public_key.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2014-08-03 15:54:48 +0400
committerDavid Howells <dhowells@redhat.com>2014-08-03 15:54:48 +0400
commitcf5b50fd2d70fdd907d433bcebaf8d89a9490334 (patch)
tree2c81dd74ca6a1db549c5192e395e4712fcced7b8 /crypto/asymmetric_keys/x509_public_key.c
parent412eccbadfbb1521e62ae53db57d782d6bc36993 (diff)
downloadlinux-cf5b50fd2d70fdd907d433bcebaf8d89a9490334.tar.xz
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>
Diffstat (limited to 'crypto/asymmetric_keys/x509_public_key.c')
-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