<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-html-editor-font-wrapper="true" style="font-family: arial, sans-serif; font-size: 13px;">Hi,<br><br>
I am trying to compile boringssl against nginx.<br>
I've got an error while compiling:<br><br>
export NGINX_VERSION 1.7.8<br>
export MODULESDIR /usr/src/nginx-modules<br>
export NPS_VERSION 1.9.32.2<br><br>
I run ./configure:
<div>./configure \</div>

<div>--prefix=/etc/nginx \</div>

<div>--sbin-path=/usr/sbin/nginx \</div>

<div>--conf-path=/etc/nginx/nginx.conf \</div>

<div>--error-log-path=/var/log/nginx/error.log \</div>

<div>--http-log-path=/var/log/nginx/access.log \</div>

<div>--pid-path=/var/run/nginx.pid \</div>

<div>--lock-path=/var/run/nginx.lock \</div>

<div>--with-http_realip_module \</div>

<div>--with-http_addition_module \</div>

<div>--with-http_sub_module \</div>

<div>--with-http_dav_module \</div>

<div>--with-http_flv_module \</div>

<div>--with-http_mp4_module \</div>

<div>--with-http_gunzip_module \</div>

<div>--with-http_gzip_static_module \</div>

<div>--with-http_random_index_module \</div>

<div>--with-http_secure_link_module \</div>

<div>--with-http_stub_status_module \</div>

<div>--with-file-aio \</div>

<div>--with-ipv6 \</div>

<div>--with-http_ssl_module \</div>

<div>--with-http_spdy_module \</div>

<div>--with-cc-opt="-I ../boringssl/.openssl/include/ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2" \</div>

<div>--with-ld-opt="-L ../boringssl/.openssl/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed" \</div>

<div>--add-module=${MODULESDIR}/ngx_pagespeed-release-${NPS_VERSION}-beta \</div>

<div>--add-module=${MODULESDIR}/ngx_http_enhanced_memcached_module \</div>

<div>--add-module=${MODULESDIR}/headers-more-nginx-module<br><br>
The error which I get is</div>
<br>
src/event/ngx_event_openssl.c: In function 'ngx_ssl_handshake':<br>
src/event/ngx_event_openssl.c:1090:46: error: 'SSL3_FLAGS_NO_RENEGOTIATE_CIPHERS' undeclared (first use in this function)<br>
             c->ssl->connection->s3->flags |= SSL3_FLAGS_NO_RENEGOTIATE_CIPHERS;<br>
                                              ^<br><br>
src/event/ngx_event_openssl.c:1090:46: note: each undeclared identifier is reported only once for each function it appears in<br>
make[1]: *** [objs/src/event/ngx_event_openssl.o] Error 1<br>
make[1]: Leaving directory `/usr/src/nginx-1.7.8' <br><br>
What do I do wrong?</div></body></html>