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:

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: TLSEXT_TYPE_application_layer_protocol_negotiation defined without implementation · Issue #50 · libressl/portable · GitHub

Posted at Nginx Forum: