summaryrefslogtreecommitdiff
path: root/crypto/asymmetric_keys/asymmetric_type.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2014-09-16 20:36:17 +0400
committerDavid Howells <dhowells@redhat.com>2014-09-16 20:36:17 +0400
commit757932e6da6de05b91cc4cb85493b17de48c2667 (patch)
treead9bf9a2fa35fa4dbb1a4402f1c3d6b092fc7f28 /crypto/asymmetric_keys/asymmetric_type.c
parent41559420003cfe99522257dded7793192c77b4e9 (diff)
downloadlinux-757932e6da6de05b91cc4cb85493b17de48c2667.tar.xz
PKCS#7: Handle PKCS#7 messages that contain no X.509 certs
The X.509 certificate list in a PKCS#7 message is optional. To save space, we can omit the inclusion of any X.509 certificates if we are sure that we can look the relevant public key up by the serial number and issuer given in a signed info block. This also supports use of a signed info block for which we can't find a matching X.509 cert in the certificate list, though it be populated. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com>
Diffstat (limited to 'crypto/asymmetric_keys/asymmetric_type.c')
0 files changed, 0 insertions, 0 deletions