[PATCH] Upstream: fix warning when building with BoringSSL

Piotr Sikora piotrsikora at google.com
Fri Sep 30 12:50:27 UTC 2016


Hey Alessandro,

> # HG changeset patch
> # User Alessandro Ghedini <alessandro at cloudflare.com>
> # Date 1475070884 -3600
> #      Wed Sep 28 14:54:44 2016 +0100
> # Node ID fe7d9e3987d40f16d86fd01d94ad16ff58467af2
> # Parent  29bf0dbc0a77914bc94bd001a2b17d364e8e50d9
> Upstream: fix warning when building with BoringSSL
>
> BoringSSL takes a const u_char * for SSL_set_tlsext_host_name but
> OpenSSL only takes a u_char *. Since NGINX is built with -Werror by
> default this breaks the build.

You need to apply the same fix to ngx_stream_proxy_module.c.

btw: I've sent exactly the same patch in the past, so good luck:
http://mailman.nginx.org/pipermail/nginx-devel/2015-November/007499.html

Best regards,
Piotr Sikora



More information about the nginx-devel mailing list