OpenSSL 1.1.0 Pre 6 patch for Nginx 1.11.*

Hi,

Does someone have a OpenSSL 1.1.0 Pre 6 patch for Nginx 1.11.*?

So that it is possible to compile Nginx 1.11.* with the latest OpenSSL
1.1.0 Pre 6 git clone (today).

Want to test some new OpenSSL 1.1.0 features, with the latest Git clone
as
OpenSSL version 1.1 seems near final.

"src/event/ngx_event_openssl.c: In function ‘ngx_ssl_connection_error’:
src/event/ngx_event_openssl.c:2065:21: error: ‘SSL_R_NO_CIPHERS_PASSED’
undeclared (first use in this function)
|| n == SSL_R_NO_CIPHERS_PASSED /*
182 */
^
src/event/ngx_event_openssl.c:2065:21: note: each undeclared identifier
is
reported only once for each function it appears in
make[1]: *** [objs/src/event/ngx_event_openssl.o] Error 1
"

Thanks,

Regards,

Rik Ske

Hi,

it already has been discussed,
https://trac.nginx.org/nginx/ticket/860#comment:10

On Fri, Jun 24, 2016 at 10:05:00PM +0200, [email protected] wrote:

"src/event/ngx_event_openssl.c: In function ‘ngx_ssl_connection_error’:
src/event/ngx_event_openssl.c:2065:21: error: ‘SSL_R_NO_CIPHERS_PASSED’
undeclared (first use in this function)
|| n == SSL_R_NO_CIPHERS_PASSED /*
182 */
^
src/event/ngx_event_openssl.c:2065:21: note: each undeclared identifier is
reported only once for each function it appears in
make[1]: *** [objs/src/event/ngx_event_openssl.o] Error 1
"


Sergey A. Osokin

Hi,

That was not the question.
There could be someone who has a pre-patch for version 6, who is also
testing OpenSSL, just like @Gobelet’s patch did before with pre 5.

On Sat, Jun 25, 2016 at 01:58:27AM +0200, [email protected] wrote:

There could be someone who has a pre-patch for version 6, who is also
testing OpenSSL, just like @Gobelet’s patch did before with pre 5.

No reason for this until API/ABI will be stable.


Sergey A. Osokin

Hello,

I attached a trivial patch that fixes the build. OpenSSL removed unused
error codes and SSL_R_NO_CIPHERS_PASSED was one of them.

Apply with:
patch -p1 < 0001-Fix-nginx-build.patch

Kurt C.
https://www.x64architecture.com

No reason? The API/ABI wasn’t stable either with the release of the
previous patches to made it compatible with OpenSSl’s pre-release for
example @Gobelet’s patch.

If someone made a patch, please let me know.