)]}'
{
  "commit": "0375127606fdc2aada53abb81ec1615a96e2d153",
  "tree": "705b790ecf84d4620a212eea6c78ab96cad582ed",
  "parents": [
    "d4aae0f9652375ce571c9ab2c1839f3395dc0f11"
  ],
  "author": {
    "name": "David Benjamin",
    "email": "davidben@google.com",
    "time": "Mon Aug 01 18:25:52 2016 -0400"
  },
  "committer": {
    "name": "CQ bot account: commit-bot@chromium.org",
    "email": "commit-bot@chromium.org",
    "time": "Mon Aug 01 23:24:04 2016 +0000"
  },
  "message": "Promise more accurate bounds than EVP_MD_MAX_SIZE.\n\nA caller using EVP_Digest* which a priori knows tighter bounds on the\nhash function used (perhaps because it is always a particular hash) can\nassume the function will not write more bytes than the size of the hash.\n\nThe letter of the rules before vaguely[*] allowed for more than\nEVP_MD_MAX_SIZE bytes written which made for some unreasonable code in\nChromium. Officially clarify this and add tests which, when paired with\nvalgrind and ASan prove it.\n\nBUG\u003d59\n\n[*] Not really. I think it already promised the output length will be\nboth the number of bytes written and the size of the hash and the size\nof the hash is given by what the function promises to compute. Meh.\n\nChange-Id: I736d526e81cca30475c90897bca896293ff30278\nReviewed-on: https://boringssl-review.googlesource.com/9066\nReviewed-by: Eric Roman \u003cericroman@google.com\u003e\nReviewed-by: David Benjamin \u003cdavidben@google.com\u003e\nCommit-Queue: David Benjamin \u003cdavidben@google.com\u003e\nCQ-Verified: CQ bot account: commit-bot@chromium.org \u003ccommit-bot@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "39ceaffcd80cedb5629bb8fddb0670bf7fc26c4e",
      "old_mode": 33188,
      "old_path": "crypto/digest/digest_test.cc",
      "new_id": "fbe2297591d531ac38214090e5c00bdbb76cd81f",
      "new_mode": 33188,
      "new_path": "crypto/digest/digest_test.cc"
    },
    {
      "type": "modify",
      "old_id": "07ea07a64fcafaeeec3241074d5b18979052bf59",
      "old_mode": 33188,
      "old_path": "include/openssl/digest.h",
      "new_id": "6c5d6cf6c24a3539011c56abd81fab2d068ea3dc",
      "new_mode": 33188,
      "new_path": "include/openssl/digest.h"
    }
  ]
}
