]> git.baikalelectronics.ru Git - kernel.git/commit
KEYS: use swapped SKID for performing partial matching
authorDmitry Kasatkin <d.kasatkin@samsung.com>
Mon, 6 Oct 2014 15:52:12 +0000 (16:52 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 6 Oct 2014 15:56:08 +0000 (16:56 +0100)
commit92ba5f5b7310567bad614a8269a306a126216bda
treec6f4d35bfbcf6a905054e3448bf54bd3e5f92189
parent859dccfdaaf51b784db1da73fa27d741bb5a9910
KEYS: use swapped SKID for performing partial matching

Earlier KEYS code used pure subject key identifiers (fingerprint)
for searching keys. Latest merged code removed that and broke
compatibility with integrity subsytem signatures and original
format of module signatures.

This patch returns back partial matching on SKID.

Reported-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: David Howells <dhowells@redhat.com>
crypto/asymmetric_keys/x509_cert_parser.c
crypto/asymmetric_keys/x509_parser.h