)]}'
{
  "commit": "1e04d986c8de3b85748addf24e04f165836ff8a0",
  "tree": "f8694c070ed2f2d45cf1dc9856aa368f0ae289de",
  "parents": [
    "001842deb7bac4bb4547586f5c0242837e4ea4c4"
  ],
  "author": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Thu Aug 06 12:59:07 2015 +0100"
  },
  "committer": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Thu Aug 06 12:59:07 2015 +0100"
  },
  "message": "ASN.1: Handle \u0027ANY OPTIONAL\u0027 in grammar\n\nAn ANY object in an ASN.1 grammar that is marked OPTIONAL should be skipped\nif there is no more data to be had.\n\nThis can be tested by editing X.509 certificates or PKCS#7 messages to\nremove the NULL from subobjects that look like the following:\n\n\tSEQUENCE {\n\t  OBJECT(2a864886f70d01010b);\n\t  NULL();\n\t}\n\nThis is an algorithm identifier plus an optional parameter.\n\nThe modified DER can be passed to one of:\n\n\tkeyctl padd asymmetric \"\" @s \u003c/tmp/modified.x509\n\tkeyctl padd pkcs7_test foo @s \u003c/tmp/modified.pkcs7\n\nIt should work okay with the patch and produce EBADMSG without.\n\nSigned-off-by: David Howells \u003cdhowells@redhat.com\u003e\nTested-by: Marcel Holtmann \u003cmarcel@holtmann.org\u003e\nReviewed-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "27f35780aecf3de525a6a52d47f80aae2718cabd",
      "old_mode": 33188,
      "old_path": "include/linux/asn1_ber_bytecode.h",
      "new_id": "ab3a6c002f7b9d2e265b08061d78e7f260b13633",
      "new_mode": 33188,
      "new_path": "include/linux/asn1_ber_bytecode.h"
    },
    {
      "type": "modify",
      "old_id": "3f74dd3e29107fa407df14cc8a8b0cf05087e9eb",
      "old_mode": 33188,
      "old_path": "lib/asn1_decoder.c",
      "new_id": "2b3f46c049d458a590d080823b344da3b3229f7c",
      "new_mode": 33188,
      "new_path": "lib/asn1_decoder.c"
    },
    {
      "type": "modify",
      "old_id": "0515bced929a48198a0b96ba6350853dd27aaa23",
      "old_mode": 33188,
      "old_path": "scripts/asn1_compiler.c",
      "new_id": "1c75e22b6385fe77bf0488b705e5c1de7476d101",
      "new_mode": 33188,
      "new_path": "scripts/asn1_compiler.c"
    }
  ]
}
