diff options
| author | David Howells <dhowells@redhat.com> | 2014-09-16 12:07:07 -0400 |
|---|---|---|
| committer | David Howells <dhowells@redhat.com> | 2014-09-16 12:07:07 -0400 |
| commit | 15155b9a4530f8da42d6594927928e25b2b29875 (patch) | |
| tree | 31e2e99ec5fd206a8bc9eb1da8f8460822a01ee5 /crypto | |
| parent | 8da79b6439f46a2bea71238ab2f0e84e3c16587d (diff) | |
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/asymmetric_keys/pkcs7_trust.c b/crypto/asymmetric_keys/pkcs7_trust.c index e666eb011a85..fad888ea4fad 100644 --- a/crypto/asymmetric_keys/pkcs7_trust.c +++ b/crypto/asymmetric_keys/pkcs7_trust.c | |||
| @@ -23,9 +23,9 @@ | |||
| 23 | /** | 23 | /** |
| 24 | * Check the trust on one PKCS#7 SignedInfo block. | 24 | * Check the trust on one PKCS#7 SignedInfo block. |
| 25 | */ | 25 | */ |
| 26 | int pkcs7_validate_trust_one(struct pkcs7_message *pkcs7, | 26 | static int pkcs7_validate_trust_one(struct pkcs7_message *pkcs7, |
| 27 | struct pkcs7_signed_info *sinfo, | 27 | struct pkcs7_signed_info *sinfo, |
| 28 | struct key *trust_keyring) | 28 | struct key *trust_keyring) |
| 29 | { | 29 | { |
| 30 | struct public_key_signature *sig = &sinfo->sig; | 30 | struct public_key_signature *sig = &sinfo->sig; |
| 31 | struct x509_certificate *x509, *last = NULL, *p; | 31 | struct x509_certificate *x509, *last = NULL, *p; |
