[PATCH 4.14 122/496] PKCS#7: fix direct verification of SignerInfo signature