浏览代码

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>
David Howells 11 年之前
父节点
当前提交
15155b9a45
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      crypto/asymmetric_keys/pkcs7_trust.c

+ 3 - 3
crypto/asymmetric_keys/pkcs7_trust.c

@@ -23,9 +23,9 @@
 /**
 /**
  * Check the trust on one PKCS#7 SignedInfo block.
  * 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 public_key_signature *sig = &sinfo->sig;
 	struct x509_certificate *x509, *last = NULL, *p;
 	struct x509_certificate *x509, *last = NULL, *p;