From: David Howells Date: Tue, 1 Jul 2014 15:02:51 +0000 (+0100) Subject: pefile: Strip the wrapper off of the cert data block X-Git-Tag: cleanup-for-v3.18~110^2~12^2~2^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09dacbbda935895a4898e517e1248c11ca493216;p=pandora-kernel.git pefile: Strip the wrapper off of the cert data block The certificate data block in a PE binary has a wrapper around the PKCS#7 signature we actually want to get at. Strip this off and check that we've got something that appears to be a PKCS#7 signature. Signed-off-by: David Howells Acked-by: Vivek Goyal Reviewed-by: Kees Cook --- Reading git-diff-tree failed