diff options
author | David Howells <dhowells@redhat.com> | 2014-09-16 12:32:55 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2014-09-16 12:32:55 -0400 |
commit | 1c9c115ccc76d313f1a9232ffb903de325b64943 (patch) | |
tree | a0e106355ed4f401be0a33fb115dc675f54a3766 | |
parent | 68c45c7feaf1a8adebc6d9d77aa0a2018d974085 (diff) | |
parent | 15155b9a4530f8da42d6594927928e25b2b29875 (diff) |
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.c | 6 | ||||
-rw-r--r-- | security/keys/request_key_auth.c | 4 |
2 files changed, 5 insertions, 5 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; |
diff --git a/security/keys/request_key_auth.c b/security/keys/request_key_auth.c index 842e6f410d50..739e7455d388 100644 --- a/security/keys/request_key_auth.c +++ b/security/keys/request_key_auth.c | |||
@@ -44,12 +44,12 @@ struct key_type key_type_request_key_auth = { | |||
44 | .read = request_key_auth_read, | 44 | .read = request_key_auth_read, |
45 | }; | 45 | }; |
46 | 46 | ||
47 | int request_key_auth_preparse(struct key_preparsed_payload *prep) | 47 | static int request_key_auth_preparse(struct key_preparsed_payload *prep) |
48 | { | 48 | { |
49 | return 0; | 49 | return 0; |
50 | } | 50 | } |
51 | 51 | ||
52 | void request_key_auth_free_preparse(struct key_preparsed_payload *prep) | 52 | static void request_key_auth_free_preparse(struct key_preparsed_payload *prep) |
53 | { | 53 | { |
54 | } | 54 | } |
55 | 55 | ||