diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-23 20:26:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-23 20:26:27 -0400 |
commit | 3159ee58d2133fbf9a710c21201ce717a8cf61a0 (patch) | |
tree | 2c1cbf7507dd9299c3f957299eef4cc59d0f2bd6 | |
parent | 1d6da87a3241deb13d073c4125d19ed0e5a0c62c (diff) | |
parent | 653bd4568ba083dfd5a06a83de3f0dc1e53dd42b (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
Pull more security subsystem updates from James Morris:
"Minor updates for the keys code"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
MAINTAINERS: Update keyrings record and add asymmetric keys record
lib: asn1_decoder - add MODULE_LICENSE("GPL")
KEYS: The PKCS#7 test key type should use the secondary keyring
-rw-r--r-- | MAINTAINERS | 12 | ||||
-rw-r--r-- | crypto/asymmetric_keys/pkcs7_key_type.c | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index ee7fb1668c15..f27ff1b32757 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -1951,6 +1951,16 @@ L: platform-driver-x86@vger.kernel.org | |||
1951 | S: Maintained | 1951 | S: Maintained |
1952 | F: drivers/platform/x86/asus-wireless.c | 1952 | F: drivers/platform/x86/asus-wireless.c |
1953 | 1953 | ||
1954 | ASYMMETRIC KEYS | ||
1955 | M: David Howells <dhowells@redhat.com> | ||
1956 | L: keyrings@vger.kernel.org | ||
1957 | S: Maintained | ||
1958 | F: Documentation/crypto/asymmetric-keys.txt | ||
1959 | F: include/linux/verification.h | ||
1960 | F: include/crypto/public_key.h | ||
1961 | F: include/crypto/pkcs7.h | ||
1962 | F: crypto/asymmetric_keys/ | ||
1963 | |||
1954 | ASYNCHRONOUS TRANSFERS/TRANSFORMS (IOAT) API | 1964 | ASYNCHRONOUS TRANSFERS/TRANSFORMS (IOAT) API |
1955 | R: Dan Williams <dan.j.williams@intel.com> | 1965 | R: Dan Williams <dan.j.williams@intel.com> |
1956 | W: http://sourceforge.net/projects/xscaleiop | 1966 | W: http://sourceforge.net/projects/xscaleiop |
@@ -6557,6 +6567,8 @@ S: Maintained | |||
6557 | F: Documentation/security/keys.txt | 6567 | F: Documentation/security/keys.txt |
6558 | F: include/linux/key.h | 6568 | F: include/linux/key.h |
6559 | F: include/linux/key-type.h | 6569 | F: include/linux/key-type.h |
6570 | F: include/linux/keyctl.h | ||
6571 | F: include/uapi/linux/keyctl.h | ||
6560 | F: include/keys/ | 6572 | F: include/keys/ |
6561 | F: security/keys/ | 6573 | F: security/keys/ |
6562 | 6574 | ||
diff --git a/crypto/asymmetric_keys/pkcs7_key_type.c b/crypto/asymmetric_keys/pkcs7_key_type.c index 3b92523882e5..1063b644efcd 100644 --- a/crypto/asymmetric_keys/pkcs7_key_type.c +++ b/crypto/asymmetric_keys/pkcs7_key_type.c | |||
@@ -62,7 +62,7 @@ static int pkcs7_preparse(struct key_preparsed_payload *prep) | |||
62 | 62 | ||
63 | return verify_pkcs7_signature(NULL, 0, | 63 | return verify_pkcs7_signature(NULL, 0, |
64 | prep->data, prep->datalen, | 64 | prep->data, prep->datalen, |
65 | NULL, usage, | 65 | (void *)1UL, usage, |
66 | pkcs7_view_content, prep); | 66 | pkcs7_view_content, prep); |
67 | } | 67 | } |
68 | 68 | ||