projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8da79b6
)
PKCS#7: Add a missing static
author
David Howells
<dhowells@redhat.com>
Tue, 16 Sep 2014 16:07:07 +0000
(17:07 +0100)
committer
David Howells
<dhowells@redhat.com>
Tue, 16 Sep 2014 16:07:07 +0000
(17:07 +0100)
Add a missing static (found by checker).
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
crypto/asymmetric_keys/pkcs7_trust.c
patch
|
blob
|
history
diff --git
a/crypto/asymmetric_keys/pkcs7_trust.c
b/crypto/asymmetric_keys/pkcs7_trust.c
index
e666eb0
..
fad888e
100644
(file)
--- 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;