)]}'
{
  "commit": "c872fcaf977d4b8e765bcc9ec365c3b5518d032f",
  "tree": "3c78b2b2128813274a80b22e33e283dc7331f659",
  "parents": [
    "1d83d3a19770c4597d4673fa3e4f39c598e389da"
  ],
  "author": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Fri Aug 10 20:49:06 2018 +0300"
  },
  "committer": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Fri Aug 10 20:49:06 2018 +0300"
  },
  "message": "SSL: fixed build with LibreSSL 2.8.0 (ticket #1605).\n\nLibreSSL 2.8.0 \"added const annotations to many existing APIs from OpenSSL,\nmaking interoperability easier for downstream applications\".  This includes\nthe const change in the SSL_CTX_sess_set_get_cb() callback function (see\n9dd43f4ef67e), which breaks compilation.\n\nTo fix this, added a condition on how we redefine OPENSSL_VERSION_NUMBER\nwhen working with LibreSSL (see 382fc7069e3a).  With LibreSSL 2.8.0,\nwe now set OPENSSL_VERSION_NUMBER to 0x1010000fL (OpenSSL 1.1.0), so the\nappropriate conditions in the code will use \"const\" as it happens with\nOpenSSL 1.1.0 and later versions.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1962aa016fd2b938063af8402fdf44d87c91ca35",
      "old_mode": 33188,
      "old_path": "src/event/ngx_event_openssl.h",
      "new_id": "159deb7fb2f09f0df8110a23dbba84a0f4dcf6ea",
      "new_mode": 33188,
      "new_path": "src/event/ngx_event_openssl.h"
    }
  ]
}
