summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2014-09-16 17:07:07 +0100
committerDavid Howells <dhowells@redhat.com>2014-09-16 17:07:07 +0100
commite72c68356db0d2a69804e81879b591e6e0427d92 (patch)
tree27a1f7a7314b8a2b4ef5db4e160f3a4b8b8f9bfd /crypto
parent027cb0e7cb1c4f92fc98128118eea5d4b64ce231 (diff)
downloadlinux-crypto-e72c68356db0d2a69804e81879b591e6e0427d92.tar.gz
linux-crypto-e72c68356db0d2a69804e81879b591e6e0427d92.zip
PKCS#7: Add a missing static
Add a missing static (found by checker). Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/asymmetric_keys/pkcs7_trust.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/asymmetric_keys/pkcs7_trust.c b/crypto/asymmetric_keys/pkcs7_trust.c
index e666eb01..fad888ea 100644
--- a/crypto/asymmetric_keys/pkcs7_trust.c
+++ b/crypto/asymmetric_keys/pkcs7_trust.c
@@ -23,9 +23,9 @@
/**
* Check the trust on one PKCS#7 SignedInfo block.
*/
-int pkcs7_validate_trust_one(struct pkcs7_message *pkcs7,
- struct pkcs7_signed_info *sinfo,
- struct key *trust_keyring)
+static int pkcs7_validate_trust_one(struct pkcs7_message *pkcs7,
+ struct pkcs7_signed_info *sinfo,
+ struct key *trust_keyring)
{
struct public_key_signature *sig = &sinfo->sig;
struct x509_certificate *x509, *last = NULL, *p;