summaryrefslogtreecommitdiff
path: root/crypto/asymmetric_keys/x509_cert_parser.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-04-06 18:13:33 +0300
committerDavid Howells <dhowells@redhat.com>2016-04-06 18:13:33 +0300
commit566a117a8b24e1ae2dfa817cf0c9eec092c783b5 (patch)
treeb2ebc4f27309656167ef03668f543d2494c994e7 /crypto/asymmetric_keys/x509_cert_parser.c
parent77d0910d153a7946df17cc15d3f423e534345f65 (diff)
downloadlinux-566a117a8b24e1ae2dfa817cf0c9eec092c783b5.tar.xz
PKCS#7: Make the signature a pointer rather than embedding it
Point to the public_key_signature struct from the pkcs7_signed_info struct rather than embedding it. This makes the code consistent with the X.509 signature handling and makes it possible to have a common cleanup function. We also save a copy of the digest in the signature without sharing the memory with the crypto layer metadata. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'crypto/asymmetric_keys/x509_cert_parser.c')
0 files changed, 0 insertions, 0 deletions