)]}'
{
  "commit": "c11fcb06e7d7f0c4593d9b19591caa48bbb8eb02",
  "tree": "609c2e691c07614e0217f729fed27059f5e7e1ee",
  "parents": [
    "b4156026a1d47c37d9b70f933af10e1a910b70a3"
  ],
  "author": {
    "name": "David Benjamin",
    "email": "davidben@google.com",
    "time": "Fri Oct 15 11:53:15 2021 -0400"
  },
  "committer": {
    "name": "Adam Langley",
    "email": "agl@google.com",
    "time": "Fri Oct 15 21:34:34 2021 +0000"
  },
  "message": "Const-correct the low-level ASN1 i2d functions.\n\nThis is completely unchecked for now, as it all goes through tasn_enc.c.\nBut the only non-const encoders now are X509_NAME, and the functions\nthat call into it, so we can fix up the ones at the bottom.\n\nI haven\u0027t done the macros that use the \"name\" or \"fname\" variants. The\nset of macros for const are a little weird. But before expanding the\nheader macros out, I wanted to change the signatures on the macro side\nonce, so the compiler checks they\u0027re expanded correctly.\n\nUpdate-Note: The type signature of some i2d functions, such as\ni2d_ASN1_OCTET_STRING, is now const-correct.\n\nBug: 407\nChange-Id: I03988f5591191b41ab4e7f014bd8d41cb071b39a\nReviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/49908\nReviewed-by: Adam Langley \u003cagl@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ad7f784ce294ae182afa53e271eeaac6d93b0645",
      "old_mode": 33188,
      "old_path": "crypto/asn1/a_time.c",
      "new_id": "1195569d43a5b3ba1c37d84a60120bf860e2d075",
      "new_mode": 33188,
      "new_path": "crypto/asn1/a_time.c"
    },
    {
      "type": "modify",
      "old_id": "1ea7644760b63a4224bdab196bdf8c6cedfc9537",
      "old_mode": 33188,
      "old_path": "crypto/asn1/asn1_test.cc",
      "new_id": "dee685a5654a102f9f7304aa736d2d825ce6b66b",
      "new_mode": 33188,
      "new_path": "crypto/asn1/asn1_test.cc"
    },
    {
      "type": "modify",
      "old_id": "44399ea1e75c1ee35354b789d8921d09b49c0076",
      "old_mode": 33188,
      "old_path": "crypto/asn1/tasn_typ.c",
      "new_id": "6f574c0033a893e8c2792473c118d2f09f887687",
      "new_mode": 33188,
      "new_path": "crypto/asn1/tasn_typ.c"
    },
    {
      "type": "modify",
      "old_id": "b1ad520e7305a58eb580b37e002d4e456539cce2",
      "old_mode": 33188,
      "old_path": "include/openssl/asn1.h",
      "new_id": "7de2331c6fb1848f646a2d2f4cbcf4f561b24a72",
      "new_mode": 33188,
      "new_path": "include/openssl/asn1.h"
    }
  ]
}
