)]}'
{
  "commit": "469cbc9d1a2c3903f48b47b9f0dc05b02fc06e73",
  "tree": "fce267d62f6660cb0f72fcc8fb07cf4bdacc022e",
  "parents": [
    "6a62e342dc703b884c325ca10d365c91fc150a16"
  ],
  "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": "623d851dc4e6162a546ca84bb79168ab8e25f54d",
      "old_mode": 33188,
      "old_path": "src/event/ngx_event_openssl.h",
      "new_id": "05d32918fd586bb86b68adbae790755269420459",
      "new_mode": 33188,
      "new_path": "src/event/ngx_event_openssl.h"
    }
  ]
}
