)]}'
{
  "commit": "7d3a24d9dbbf117b2466871190c43bbbe162e391",
  "tree": "518a11c7019abb84a1fb2383f2967409ed499d75",
  "parents": [
    "70fee172042c9727f98ea2e6659eb77336e0dc7f"
  ],
  "author": {
    "name": "David Benjamin",
    "email": "davidben@google.com",
    "time": "Wed Jul 29 16:43:25 2020 -0400"
  },
  "committer": {
    "name": "CQ bot account: commit-bot@chromium.org",
    "email": "commit-bot@chromium.org",
    "time": "Wed Jul 29 21:19:25 2020 +0000"
  },
  "message": "Fix the naming of alert error codes.\n\nReason codes 1000+N correspond to receiving an alert N from the peer,\nrather than observing the corresponding error condition locally. This\nhas generally been a source of confusion for folks.\n\nThey were originally named like SSL_R_TLSV1_ALERT_DECRYPTION_FAILED, but\nOpenSSL introduced a few without the \"ALERT\" token in\n739a543ea863682f157e9aa0ee382367eb3d187c.\n\nWe then inadvertently carried the mistake over in\nSSL_R_TLSV1_UNKNOWN_PSK_IDENTITY and SSL_R_TLSV1_CERTIFICATE_REQUIRED.\nFix all these to include the \"ALERT\" for consistency and make it\nslightly less confusing. (Although perhaps it should have been\nRECEIVED_ALERT or so.) Add compatibility #defines for the original\nOpenSSL ones and SSL_R_TLSV1_CERTIFICATE_REQUIRED. The latter can be\nremoved when downstream code is fixed. The OpenSSL ones we\u0027ll probably\njust leave around.\n\nUpdate-Note: The renamed alerts will log slightly different strings, but\nthe constants used by external code are still there.\n\nBug: 366\nChange-Id: I30c299c4ad4b2bed695bd71d0831fbe6755975a7\nReviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/42384\nReviewed-by: Adam Langley \u003cagl@google.com\u003e\nCommit-Queue: David Benjamin \u003cdavidben@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "46fae66b494f3032cb84ec25f224e1e60bfe7617",
      "old_mode": 33188,
      "old_path": "crypto/err/ssl.errordata",
      "new_id": "44f2ef29aff2e95f3690dd32fd66737c094ff5db",
      "new_mode": 33188,
      "new_path": "crypto/err/ssl.errordata"
    },
    {
      "type": "modify",
      "old_id": "46ed1122c5d75df27a397e0629a3397d580deebe",
      "old_mode": 33188,
      "old_path": "include/openssl/ssl.h",
      "new_id": "f15c006abccafec27cc757a0e0b432508b1ed7d0",
      "new_mode": 33188,
      "new_path": "include/openssl/ssl.h"
    }
  ]
}
