]> git.kaiwu.me - nginx.git/commit
SSL: compatibility with BoringSSL.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 19 Oct 2016 15:36:50 +0000 (18:36 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 19 Oct 2016 15:36:50 +0000 (18:36 +0300)
commit9b8b33bd4a3f44a4d1a23b7fba09a014e0fcc5ab
treebfe8162d3d610553b6506d6eb6786b904e571fab
parent33f940534e89c599998ed9e516af565e6372e700
SSL: compatibility with BoringSSL.

BoringSSL changed SSL_set_tlsext_host_name() to be a real function
with a (const char *) argument, so it now triggers a warning due to
conversion from (u_char *).  Added an explicit cast to silence the
warning.

Prodded by Piotr Sikora, Alessandro Ghedini.
src/http/ngx_http_upstream.c
src/stream/ngx_stream_proxy_module.c