]> git.baikalelectronics.ru Git - kernel.git/commit
PKCS#7: Provide a single place to do signed info block freeing
authorDavid Howells <dhowells@redhat.com>
Tue, 16 Sep 2014 16:29:03 +0000 (17:29 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 16 Sep 2014 16:29:03 +0000 (17:29 +0100)
commitacee381430c47499cfd7eb40fe6c0cb2f4f3497d
tree94f4fc4be81e0d6d4dd21962ffa206a3815d99ca
parente5a89312db293fdff5260ede5b4c3c4965b4c397
PKCS#7: Provide a single place to do signed info block freeing

The code to free a signed info block is repeated several times, so move the
code to do it into a function of its own.  This gives us a place to add clean
ups for stuff that gets added to pkcs7_signed_info.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
crypto/asymmetric_keys/pkcs7_parser.c