crypt32: Test and correct encoding of signed CMS messages.