summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2014-09-16 17:32:55 +0100
committerDavid Howells <dhowells@redhat.com>2014-09-16 17:32:55 +0100
commit59d384b06776928f95a18d22efc1b9dfad4cc36e (patch)
treedf66d6c11a280cb2b86bcf1bf4e9a5be9ad1b019
parent15dde522d65702ce74e40af800cd97fe1519977a (diff)
parente72c68356db0d2a69804e81879b591e6e0427d92 (diff)
downloadlinux-crypto-59d384b06776928f95a18d22efc1b9dfad4cc36e.tar.gz
linux-crypto-59d384b06776928f95a18d22efc1b9dfad4cc36e.zip
Merge tag 'keys-next-fixes-20140916' into keys-next
Merge in keyrings fixes for next: (1) Insert some missing 'static' annotations. Signed-off-by: David Howells <dhowells@redhat.com>
-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;