)]}'
{
  "commit": "125a38fad9fc08cb9ac36925988c667d04fda993",
  "tree": "8766936ef77b892baba4ae52e46e86410181c145",
  "parents": [
    "95d8eaa660040cfe7075a6a0390038a10cb64ff7"
  ],
  "author": {
    "name": "David Benjamin",
    "email": "davidben@google.com",
    "time": "Thu Aug 20 14:54:02 2020 -0400"
  },
  "committer": {
    "name": "CQ bot account: commit-bot@chromium.org",
    "email": "commit-bot@chromium.org",
    "time": "Mon Aug 24 16:06:56 2020 +0000"
  },
  "message": "Const-correct various X509 functions.\n\nActually making crypto/asn1 and crypto/x509 const-correct will be a tall\norder, between all the hidden caches, non-const ASN.1 macros, and\nambiguity between mutable and immutable getters. But upstream\nconst-corrected a number of things, so align with them. (In particular,\nit is not currently possible to usefully use a non-const X509_NAME.)\n\nI think I\u0027ve gotten most of x509.h. I started going through x509v3.h,\nbut all the conf bits take non-const char* pointers, which shows up in\nthe public (but probably unused) X509V3_CONF_METHOD, so I\u0027ve left it\nalone in this CL.\n\nFor some reason, OpenSSL made X509_get_subject_name a const-to-non-const\nfunction but kept X509_get_serialNumber uniformly non-const while adding\na uniformly const X509_get0_serialNumber. I\u0027ve just mirrored this for\ncompatibility\u0027s sake.\n\nChange-Id: Ia33a7576165cf2da5922807fc065f1f114b0f84c\nReviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/42584\nCommit-Queue: David Benjamin \u003cdavidben@google.com\u003e\nReviewed-by: Adam Langley \u003cagl@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "eeec5d15e704fad5fedb1d1fcd9d3ada5f0465b9",
      "old_mode": 33188,
      "old_path": "crypto/x509/a_strex.c",
      "new_id": "2c4824e5d6bdac9917d5676bbcce0babb112fef2",
      "new_mode": 33188,
      "new_path": "crypto/x509/a_strex.c"
    },
    {
      "type": "modify",
      "old_id": "e45a7659688eaea0f1f729383923d643b7ca241f",
      "old_mode": 33188,
      "old_path": "crypto/x509/t_x509.c",
      "new_id": "5db8746c1c5926c342119dbd6d20c4868d366e14",
      "new_mode": 33188,
      "new_path": "crypto/x509/t_x509.c"
    },
    {
      "type": "modify",
      "old_id": "cd025abcafbdbf256b481214c5340026d76a5ada",
      "old_mode": 33188,
      "old_path": "crypto/x509/x509_cmp.c",
      "new_id": "92ed8715a2a21305be37cb07c279ab2c0dd3d06d",
      "new_mode": 33188,
      "new_path": "crypto/x509/x509_cmp.c"
    },
    {
      "type": "modify",
      "old_id": "a329f6fab4a5ef755a70e33092d3e89e67ea3c65",
      "old_mode": 33188,
      "old_path": "crypto/x509/x509_ext.c",
      "new_id": "a8f0ab684eedbc28abe8addb6c72f13244a1a2ed",
      "new_mode": 33188,
      "new_path": "crypto/x509/x509_ext.c"
    },
    {
      "type": "modify",
      "old_id": "520b7a0793fca831ff8093afefa0947b49d1b42d",
      "old_mode": 33188,
      "old_path": "crypto/x509/x509_obj.c",
      "new_id": "80d16c1a45851b66999f0bb351ef72e9fe794d5c",
      "new_mode": 33188,
      "new_path": "crypto/x509/x509_obj.c"
    },
    {
      "type": "modify",
      "old_id": "019301ab8ecb970612fa80b81f7b8fa65a1f58bd",
      "old_mode": 33188,
      "old_path": "crypto/x509/x509_trs.c",
      "new_id": "d3002e831b70e34a640b3eb64ac55c0dd89ff01e",
      "new_mode": 33188,
      "new_path": "crypto/x509/x509_trs.c"
    },
    {
      "type": "modify",
      "old_id": "ecbc0ddc0b7dbbe195ca9ae7a5b3ffd7e42a7d7c",
      "old_mode": 33188,
      "old_path": "crypto/x509/x509_v3.c",
      "new_id": "7cfd6e9352c0d5bf6c7d48f2ded3d4af9916a76a",
      "new_mode": 33188,
      "new_path": "crypto/x509/x509_v3.c"
    },
    {
      "type": "modify",
      "old_id": "fbb76f0b059e96493807ac63cc2cc63714cdb827",
      "old_mode": 33188,
      "old_path": "crypto/x509/x509name.c",
      "new_id": "0bf345941263acfa2e59ba67ea35e26e005aa932",
      "new_mode": 33188,
      "new_path": "crypto/x509/x509name.c"
    },
    {
      "type": "modify",
      "old_id": "552a524431dc7a6fa1aa0e5f5e86be8c7a50cec1",
      "old_mode": 33188,
      "old_path": "crypto/x509v3/v3_genn.c",
      "new_id": "57223b4a4e8180fb39c40e17b124fd9395199939",
      "new_mode": 33188,
      "new_path": "crypto/x509v3/v3_genn.c"
    },
    {
      "type": "modify",
      "old_id": "7a48bd55433a6bf414c553c0f712165a55b2516c",
      "old_mode": 33188,
      "old_path": "crypto/x509v3/v3_info.c",
      "new_id": "3615c71d51c71d4298dd71bdba99bc6ca5cd0eeb",
      "new_mode": 33188,
      "new_path": "crypto/x509v3/v3_info.c"
    },
    {
      "type": "modify",
      "old_id": "e41b657febd3b303fcaefdb36bcb97e49077fea6",
      "old_mode": 33188,
      "old_path": "crypto/x509v3/v3_purp.c",
      "new_id": "e77a3d1bbb69e31439d72a4a627769e43bdbbe5a",
      "new_mode": 33188,
      "new_path": "crypto/x509v3/v3_purp.c"
    },
    {
      "type": "modify",
      "old_id": "6a16e78ef1a0f3374c615ae8edd0d788e520821d",
      "old_mode": 33188,
      "old_path": "crypto/x509v3/v3_skey.c",
      "new_id": "8c628ecf24740e1356a716882f377272f62450eb",
      "new_mode": 33188,
      "new_path": "crypto/x509v3/v3_skey.c"
    },
    {
      "type": "modify",
      "old_id": "20c59225c6253ae262ec7fd91643f86dbddf9a57",
      "old_mode": 33188,
      "old_path": "include/openssl/x509.h",
      "new_id": "d4176314c74a9d469a67e698997145410cd9e436",
      "new_mode": 33188,
      "new_path": "include/openssl/x509.h"
    },
    {
      "type": "modify",
      "old_id": "b5db7157ee4d87f86ba19ceca293ae54da97a057",
      "old_mode": 33188,
      "old_path": "include/openssl/x509v3.h",
      "new_id": "6e64778a0bdbbb6e12041421c0b0fb811a5c73f8",
      "new_mode": 33188,
      "new_path": "include/openssl/x509v3.h"
    }
  ]
}
