# OpenSSL 1.1.0 Pre 6 patch for Nginx 1.11.\*

**URL:** <https://www.ruby-forum.com/t/openssl-1-1-0-pre-6-patch-for-nginx-1-11/244848>\
**Category:** NGINX\
**Created:** [June 24, 2016, 10:14pm UTC](https://www.ruby-forum.com/t/openssl-1-1-0-pre-6-patch-for-nginx-1-11/244848 "2016-06-24T22:14:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafa\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/958977/32.png) [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Post date:** [June 24, 2016, 10:14pm UTC](https://www.ruby-forum.com/t/openssl-1-1-0-pre-6-patch-for-nginx-1-11/244848/1 "2016-06-24T22:14:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [June 24, 2016, 11:12pm UTC](https://www.ruby-forum.com/t/openssl-1-1-0-pre-6-patch-for-nginx-1-11/244848/2 "2016-06-24T23:12:25Z")

</div>

Hi,

it already has been discussed,

> **[in reply to:  9 ; follow-up:  11 comment:10 by Maxim Dounin, 11 years ago - #860...](https://trac.nginx.org/nginx/ticket/860#comment:10)**
>
> Replying to Gobelet@…:

On Fri, Jun 24, 2016 at 10:05:00PM +0200, [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [June 25, 2016, 1:58am UTC](https://www.ruby-forum.com/t/openssl-1-1-0-pre-6-patch-for-nginx-1-11/244848/3 "2016-06-25T01:58:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [June 25, 2016, 4:54am UTC](https://www.ruby-forum.com/t/openssl-1-1-0-pre-6-patch-for-nginx-1-11/244848/4 "2016-06-25T04:54:44Z")

</div>

On Sat, Jun 25, 2016 at 01:58:27AM +0200, [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [June 25, 2016, 6:27am UTC](https://www.ruby-forum.com/t/openssl-1-1-0-pre-6-patch-for-nginx-1-11/244848/5 "2016-06-25T06:27:02Z")

</div>

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](https://www.x64architecture.com)

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [June 25, 2016, 5:25am UTC](https://www.ruby-forum.com/t/openssl-1-1-0-pre-6-patch-for-nginx-1-11/244848/6 "2016-06-25T05:25:07Z")

</div>

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.
