commit | 566a117a8b24e1ae2dfa817cf0c9eec092c783b5 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Wed Apr 06 16:13:33 2016 +0100 |
committer | David Howells <dhowells@redhat.com> | Wed Apr 06 16:13:33 2016 +0100 |
tree | b2ebc4f27309656167ef03668f543d2494c994e7 | |
parent | 77d0910d153a7946df17cc15d3f423e534345f65 [diff] |
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>