Fix nginx for build with any version of openssl.

Kirill A. Korinskiy catap at
Tue Jan 11 13:47:13 MSK 2011

On Tue, Jan 11, 2011 at 04:55, Maxim Dounin <mdounin at> wrote:

> Hello!
> On Tue, Jan 11, 2011 at 04:10:01AM +0300, Kirill A. Korinskiy wrote:
> >
> > But any way I see one way: start use version of 0x009080a0L (it's a first
> > release after interface change). Yes this is do broken build with version
> > after revison 17503 and before 0.9.8f.
> The interface change in question was never merged into 0.9.8
> branch.  And I assume it won't be ever merged as this is a
> library interface change, not a bugfix.


> > Update patches attached.
> This patch is just wrong.

Attach a new version of patch. openssl start use new interface only
after OpenSSL_1_0_0-beta1. And I change version to it. yes, it's

> p.s. The aproach which will work for all versions is explicit
> typecast to discard const qualifier.  I don't think it's better
> aproach though.

yes, but i don't now more sexy way. Now we have a problem: nginx don't build
on fedora 14, for example.

wbr, Kirill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-build-with-openssl-1.0.0+-dev.patch
Type: text/x-patch
Size: 822 bytes
Desc: not available
URL: <>

More information about the nginx-devel mailing list