diff options
Diffstat (limited to 'include/crypto/pkcs7.h')
-rw-r--r-- | include/crypto/pkcs7.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/crypto/pkcs7.h b/include/crypto/pkcs7.h index 8ba0f3810d67..691c79172a26 100644 --- a/include/crypto/pkcs7.h +++ b/include/crypto/pkcs7.h | |||
@@ -9,6 +9,7 @@ | |||
9 | * 2 of the Licence, or (at your option) any later version. | 9 | * 2 of the Licence, or (at your option) any later version. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | struct key; | ||
12 | struct pkcs7_message; | 13 | struct pkcs7_message; |
13 | 14 | ||
14 | /* | 15 | /* |
@@ -23,6 +24,13 @@ extern int pkcs7_get_content_data(const struct pkcs7_message *pkcs7, | |||
23 | bool want_wrapper); | 24 | bool want_wrapper); |
24 | 25 | ||
25 | /* | 26 | /* |
27 | * pkcs7_trust.c | ||
28 | */ | ||
29 | extern int pkcs7_validate_trust(struct pkcs7_message *pkcs7, | ||
30 | struct key *trust_keyring, | ||
31 | bool *_trusted); | ||
32 | |||
33 | /* | ||
26 | * pkcs7_verify.c | 34 | * pkcs7_verify.c |
27 | */ | 35 | */ |
28 | extern int pkcs7_verify(struct pkcs7_message *pkcs7); | 36 | extern int pkcs7_verify(struct pkcs7_message *pkcs7); |