1.7.9 does not compile anymore with libressl

I am trying to compile nginx 1.7.9 with libressl 2.1.2 the same way I
did
with 1.7.7 but get the following error:

src/http/ngx_http_request.c: In function
‘ngx_http_ssl_handshake_handler’:
src/http/ngx_http_request.c:775:9: error: implicit declaration of
function
‘SSL_get0_alpn_selected’ [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make[1]: *** [objs/src/http/ngx_http_request.o] Error 1
make[1]: Leaving directory `/usr/src/nginx-1.7.9’
make: *** [build] Error 2

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,255815,255815#msg-255815

I am trying to compile nginx 1.7.9 with libressl 2.1.2 the same way I did
with 1.7.7 but get the following error:

src/http/ngx_http_request.c: In function ngx_http_ssl_handshake_handler:
src/http/ngx_http_request.c:775:9: error: implicit declaration of function
SSL_get0_alpn_selected [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make[1]: *** [objs/src/http/ngx_http_request.o] Error 1
make[1]: Leaving directory `/usr/src/nginx-1.7.9’
make: *** [build] Error 2

Wait for the next libressl release or patch libressl by removing the
TLSEXT_TYPE_application_layer_protocol_negotiation symbol definition:
http://pastebin.com/raw.php?i=ZQ5peJvL

Lukas

thanks for that! Confirmed this is not an nginx issue but libressl
2.1.2.
See also: https://github.com/libressl-portable/portable/issues/50

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,255815,255820#msg-255820