Nginx + LibreSSL - a first test

mex nginx-forum at nginx.us
Tue Jul 15 11:52:49 UTC 2014


Piotr Sikora Wrote:
-------------------------------------------------------
> Hey,
> 
> > # Summary
> >
> > It works.
> 
> ....only with versions older than nginx-1.7.0, you need a small patch
> (attached) in order to compile nginx-mainline against LibreSSL,
> because LibreSSL developers decided that LibreSSL is OpenSSL-2.0.0...
> I didn't send this patch to nginx-devel@ yet, because I'm still trying
> to convince them that LibreSSL should present itself as OpenSSL-1.0.1,
> in which case no changes to nginx would be necessary.

not just nginx., but maybe other software too that got used to that 
versioning-scheme. 


just checked opensslv.h, and it is different in 2.0.1 from 2.0.0:

#define LIBRESSL_VERSION_NUMBER 0x20000000L
#define OPENSSL_VERSION_NUMBER  0x20000000L


i dont know  what happens when changing 
#define  OPENSSL_VERSION_NUMBER  0x10002002L 

the openssl-binary compiles find, but i cannot check with nginx-mainline
right now, maybe later


thanks for the patch!


regards,


mex





regards, mex

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,251718,251793#msg-251793



More information about the nginx mailing list