)]}'
{
  "commit": "287a1d87db5d649b01d6193bd9d07e909f08094c",
  "tree": "51c1157db83535a329d93233ed2003d59f363711",
  "parents": [
    "81bf7719a6b7ce9b665598222362b50122dfc13b"
  ],
  "author": {
    "name": "Richard Barnes",
    "email": "rlb@ipv.sx",
    "time": "Thu Aug 27 11:19:40 2015 -0400"
  },
  "committer": {
    "name": "Adam Langley",
    "email": "agl@golang.org",
    "time": "Sat Aug 29 18:47:43 2015 +0000"
  },
  "message": "ocsp: use asn1.Enumerated for revocation reason\n\nIn the initial patch enabling generation of OCSP responses, the Reason\nfield in the revokedInfo struct used for serializing responses was set\nto type int. That type maps to the ASN.1 type INTEGER, not ENUMERATED,\nas required by RFC 6960. As a result, if you serialize an OCSP\nresonse with the Reason field populated, then it will be rejected as\nmalformed by compliant OCSP parsers.\n\nThis patch changes the type of the Reason field in revokedInfo to\nasn1.Enumerated. It leaves the RevocationReason field in the public\nResponse struct as int, and converts between the two.  The patch\nalso adds constant for the defined revocation reasons.\n\nChange-Id: I97205319503f447cde12d9a0bb0bd1a8db7a66ee\nReviewed-on: https://go-review.googlesource.com/13964\nReviewed-by: Adam Langley \u003cagl@golang.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1850e1bdaa24dcc7ab9191b04f5be1add244788a",
      "old_mode": 33188,
      "old_path": "ocsp/ocsp.go",
      "new_id": "99120b58f576c6e69816f6980a1931db1421328d",
      "new_mode": 33188,
      "new_path": "ocsp/ocsp.go"
    },
    {
      "type": "modify",
      "old_id": "5ea9eb2e94b24e8cdbc1da5ff5fc9fbee5c96f4f",
      "old_mode": 33188,
      "old_path": "ocsp/ocsp_test.go",
      "new_id": "d55682ffe89f0261ef4c609fe8ac66ecc894d35a",
      "new_mode": 33188,
      "new_path": "ocsp/ocsp_test.go"
    }
  ]
}
