)]}'
{
  "commit": "1f359471f9eebab29fe2b0e8bf0e0f7b93f3bc26",
  "tree": "7149493bf84e7433390ebe11903286bfaa1e628c",
  "parents": [
    "1e2804f25c80136c33f3508adb54b24106b6b6f6"
  ],
  "author": {
    "name": "Matt Caswell",
    "email": "matt@openssl.org",
    "time": "Thu Nov 23 16:21:46 2017 +0000"
  },
  "committer": {
    "name": "Matt Caswell",
    "email": "matt@openssl.org",
    "time": "Mon Dec 04 13:31:48 2017 +0000"
  },
  "message": "Provide an SSLfatal() macro\n\nTypically if a fatal error occurs three things need to happen:\n\n- Put an error on the error queue\n- Send an alert\n- Put the state machine into the error state\n\nAlthough all 3 of these things need to be done every time we hit a fatal\nerror the responsibilities for doing this are distributed throughout the\ncode. The place where the error goes on the queue, where the alert gets\nsent and where the state machine goes into the error state are almost\ninvariably different. It has been a common pattern to pass alert codes up\nand down the stack to get the alert information from the point in the code\nwhere the error is detected to the point in the code where the alert gets\nsent.\n\nThis commit provides an SSLfatal() macro (backed by an ossl_statem_fatal\nfunction) that does all 3 of the above error tasks. This is largely a drop\nin replacement for SSLerr, but takes a couple of extra parameters (the SSL\nobject, and an alert code).\n\nReviewed-by: Richard Levitte \u003clevitte@openssl.org\u003e\n(Merged from https://github.com/openssl/openssl/pull/4778)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0f3452216f5ae63a6a32e36859f49ff510874520",
      "old_mode": 33188,
      "old_path": "ssl/statem/statem.c",
      "new_id": "c9ac4fb571831485ee4680b37e7c0f14573dac91",
      "new_mode": 33188,
      "new_path": "ssl/statem/statem.c"
    },
    {
      "type": "modify",
      "old_id": "98c82917f342feaabd81bf63b37641d9019d1f39",
      "old_mode": 33188,
      "old_path": "ssl/statem/statem.h",
      "new_id": "83bebe77e6ba589b69f1437a17fd115a66c7cef3",
      "new_mode": 33188,
      "new_path": "ssl/statem/statem.h"
    }
  ]
}
