[PATCH] SSL: let it build against LibreSSL
Maxim Dounin
mdounin at mdounin.ru
Wed Jul 30 12:23:28 UTC 2014
Hello!
On Tue, Jul 29, 2014 at 07:15:06PM -0700, Piotr Sikora wrote:
> Hey Maxim,
>
> > As previously suggested, this doesn't looks like a right way to
> > go. If LibreSSL folks continue to insist this is OpenSSL-2.0.0,
> > then we'll probably have redefine OPENSSL_VERSION_NUMBER
> > ourselves.
>
> Unfortunately, it looks like they've made their mind :( The discussion
> on it stopped, they've made 4 releases with that version already and
> OpenBSD is in the release mode right now, so I don't expect that
> they're going to change it.
>
> Redefining OPENSSL_VERSION_NUMBER doesn't seem like the prettiest
> solution, though.
Well, that's anyway how it'll end up in multiple places, so I
don't think it's a big problem. And it looks bettern than adding
#ifs in all places.
Alternatively, we may consider rewriting tests to avoid checking
OPENSSL_VERSION_NUMBER and/or do configure time tests instead.
--
Maxim Dounin
http://nginx.org/
More information about the nginx-devel
mailing list