diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2014-07-28 09:17:12 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2014-07-28 09:55:54 -0400 |
commit | 63d2551ea7e2c34b533f2b6b0646cc825d9ee509 (patch) | |
tree | 56ac90e6e702dcb0eaa6a3d92876a9e776143f7c /crypto/asymmetric_keys | |
parent | b64cc5fb85f38ae7ca3c67a8fea9ad8c0d068bfa (diff) |
PKCS#7: fix sparse non static symbol warning
Fixes the following sparse warnings:
crypto/asymmetric_keys/pkcs7_key_type.c:73:17: warning:
symbol 'key_type_pkcs7' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'crypto/asymmetric_keys')
-rw-r--r-- | crypto/asymmetric_keys/pkcs7_key_type.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asymmetric_keys/pkcs7_key_type.c b/crypto/asymmetric_keys/pkcs7_key_type.c index 197ecdc0a5a1..3de5fb011de0 100644 --- a/crypto/asymmetric_keys/pkcs7_key_type.c +++ b/crypto/asymmetric_keys/pkcs7_key_type.c | |||
@@ -70,7 +70,7 @@ error: | |||
70 | * user defined keys take an arbitrary string as the description and an | 70 | * user defined keys take an arbitrary string as the description and an |
71 | * arbitrary blob of data as the payload | 71 | * arbitrary blob of data as the payload |
72 | */ | 72 | */ |
73 | struct key_type key_type_pkcs7 = { | 73 | static struct key_type key_type_pkcs7 = { |
74 | .name = "pkcs7_test", | 74 | .name = "pkcs7_test", |
75 | .def_lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, | 75 | .def_lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, |
76 | .preparse = pkcs7_preparse, | 76 | .preparse = pkcs7_preparse, |