The official NGINX Open Source repository.
Go to file
Maxim Dounin 1b1b632eed SSL: fixed build with LibreSSL 2.8.0 (ticket #1605).
LibreSSL 2.8.0 "added const annotations to many existing APIs from OpenSSL,
making interoperability easier for downstream applications".  This includes
the const change in the SSL_CTX_sess_set_get_cb() callback function (see
9dd43f4ef67e), which breaks compilation.

To fix this, added a condition on how we redefine OPENSSL_VERSION_NUMBER
when working with LibreSSL (see 382fc7069e3a).  With LibreSSL 2.8.0,
we now set OPENSSL_VERSION_NUMBER to 0x1010000fL (OpenSSL 1.1.0), so the
appropriate conditions in the code will use "const" as it happens with
OpenSSL 1.1.0 and later versions.
2018-08-10 20:49:06 +03:00
auto Configure: fixed compiler warnings with "-Wall -Wextra". 2018-07-24 18:46:54 +03:00
conf MIME: added font/woff2 type (ticket #1243). 2018-06-15 17:29:55 +03:00
contrib Contrib: vim syntax, update core and 3rd party module directives. 2018-03-18 11:11:14 +02:00
docs A link to the error_log directive on nginx.org removed. 2018-08-10 14:15:05 +03:00
misc Updated OpenSSL and PCRE used for win32 builds. 2018-04-03 03:54:09 +03:00
src SSL: fixed build with LibreSSL 2.8.0 (ticket #1605). 2018-08-10 20:49:06 +03:00
.hgtags release-1.15.2 tag 2018-07-24 16:11:00 +03:00