[PATCH 5/5] PEFILE: Relax the check on the length of the PKCS#7 cert

2014-09-02 Thread David Howells
Relax the check on the length of the PKCS#7 cert as it appears that the PE file wrapper size gets rounded up to the nearest 8. The debugging output looks like this: PEFILE: ==> verify_pefile_signature() PEFILE: ==> pefile_parse_binary() PEFILE: checksum @ 110

[PATCH 5/5] PEFILE: Relax the check on the length of the PKCS#7 cert

2014-09-02 Thread David Howells
Relax the check on the length of the PKCS#7 cert as it appears that the PE file wrapper size gets rounded up to the nearest 8. The debugging output looks like this: PEFILE: == verify_pefile_signature() PEFILE: == pefile_parse_binary() PEFILE: checksum @ 110