)]}'
{
  "commit": "8313e239e50e4d240ac7fc04c8e1aa05d58ca0fc",
  "tree": "8922680415f606c3fd3882eab2fd4769c9ecf7dc",
  "parents": [
    "67a6614cf3be3b2d63262be94a1fba86a4e4e92d"
  ],
  "author": {
    "name": "David Benjamin",
    "email": "davidben@google.com",
    "time": "Mon Apr 13 01:34:20 2026 -0700"
  },
  "committer": {
    "name": "boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Sat Apr 18 10:26:32 2026 -0700"
  },
  "message": "Clear unused bits in ASN1_STRING_set/set0\n\nPreviously, they left the bit count alone, even if it was inconsistent\nwith the string, which mostly meant callers needed to go back and fix up\nthe flags field afterwards.\n\nBump BORINGSSL_API_VERSION. Between this and other fixes in this series,\ncallers should not need to mess with ASN1_STRING_FLAG_BITS_LEFT anymore.\nBORINGSSL_API_VERSION can be used to gate such code that may still be\nneeded in older BoringSSLs.\n\nUpdate-Note: ASN1_STRING_set/set0 on a BIT STRING will now cleanly set\nthe BIT STRING to containing the specified bytes, without carrying over\nthe unused bit count from the previous value. To set a BIT STRING that\nisn\u0027t a whole number of bytes, use ASN1_BIT_STRING_set1.\n\nBug: 42290311\nChange-Id: I8dfd6ca6485de7a3bae0be055e4e624f5ff9b340\nReviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/92571\nPresubmit-BoringSSL-Verified: boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com \u003cboringssl-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nCommit-Queue: Lily Chen \u003cchlily@google.com\u003e\nReviewed-by: Lily Chen \u003cchlily@google.com\u003e\nAuto-Submit: David Benjamin \u003cdavidben@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9ec8f6d1ce1fc0b82528b83ef2fb64b989bc3133",
      "old_mode": 33188,
      "old_path": "crypto/asn1/asn1_lib.cc",
      "new_id": "c129c6b465bd09da8b1ceeed65bbd7db4b57fb5b",
      "new_mode": 33188,
      "new_path": "crypto/asn1/asn1_lib.cc"
    },
    {
      "type": "modify",
      "old_id": "b106a46570a3f4890539e540ae5e0baf26a73e5c",
      "old_mode": 33188,
      "old_path": "crypto/asn1/asn1_test.cc",
      "new_id": "12604c5e44cf19adf346eff4702851ac7a2bbb02",
      "new_mode": 33188,
      "new_path": "crypto/asn1/asn1_test.cc"
    },
    {
      "type": "modify",
      "old_id": "2bc54371c8263a560ae9681acad173f63a1aa1fd",
      "old_mode": 33188,
      "old_path": "crypto/x509/a_sign.cc",
      "new_id": "a430bff346355b3936439f9d379501b0d90f07df",
      "new_mode": 33188,
      "new_path": "crypto/x509/a_sign.cc"
    },
    {
      "type": "modify",
      "old_id": "3f4e75eb240853e31605222ac26bd5d144e63a92",
      "old_mode": 33188,
      "old_path": "crypto/x509/x509cset.cc",
      "new_id": "19e938a8054678ce7eafe0775fb21b9d89679a8d",
      "new_mode": 33188,
      "new_path": "crypto/x509/x509cset.cc"
    },
    {
      "type": "modify",
      "old_id": "15a147fdfb6da2f548a4496168fed7800fef6651",
      "old_mode": 33188,
      "old_path": "crypto/x509/x509rset.cc",
      "new_id": "076a3bfa7936c4ad423e107c4afcada1ae494975",
      "new_mode": 33188,
      "new_path": "crypto/x509/x509rset.cc"
    },
    {
      "type": "modify",
      "old_id": "d929036eafba2e3edd9281a46659d6c1bd378b71",
      "old_mode": 33188,
      "old_path": "crypto/x509/x_pubkey.cc",
      "new_id": "828dec03c118e26f627ca06d9387a4148fd26ee7",
      "new_mode": 33188,
      "new_path": "crypto/x509/x_pubkey.cc"
    },
    {
      "type": "modify",
      "old_id": "206521af9ec632ef7671a1fa26b2191b75cc0c0b",
      "old_mode": 33188,
      "old_path": "crypto/x509/x_x509.cc",
      "new_id": "0c3842e6856674d6cf5af0b66820cdf6e2baa04c",
      "new_mode": 33188,
      "new_path": "crypto/x509/x_x509.cc"
    },
    {
      "type": "modify",
      "old_id": "b83e3cf8e38de7392fa7a9c7f96de526b62f9857",
      "old_mode": 33188,
      "old_path": "include/openssl/asn1.h",
      "new_id": "e8913822685171268aed54d86173bffe504646fd",
      "new_mode": 33188,
      "new_path": "include/openssl/asn1.h"
    },
    {
      "type": "modify",
      "old_id": "c9a85c32b5b03a70fbc725407d3c5e532b96b776",
      "old_mode": 33188,
      "old_path": "include/openssl/base.h",
      "new_id": "961e542a0402d277bb4dcae5db6c16147fce6f8a",
      "new_mode": 33188,
      "new_path": "include/openssl/base.h"
    }
  ]
}
