diff options
author | David Howells <dhowells@redhat.com> | 2016-04-06 15:13:33 (GMT) |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-04-06 15:13:33 (GMT) |
commit | 566a117a8b24e1ae2dfa817cf0c9eec092c783b5 (patch) | |
tree | b2ebc4f27309656167ef03668f543d2494c994e7 /lib/cmdline.c | |
parent | 77d0910d153a7946df17cc15d3f423e534345f65 (diff) | |
download | linux-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 'lib/cmdline.c')
0 files changed, 0 insertions, 0 deletions