diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2016-03-31 23:38:29 +0300 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2016-03-31 23:38:29 +0300 |
| commit | bad99ee0047282fd5a8e5730d440a032eb2452ed (patch) | |
| tree | 14436be2e5c36209f85c5e0b488400859732bbb0 /auto/lib | |
| parent | 5afd74bed6b9a93b800bf0b5cc8b4e82990e1e9e (diff) | |
| download | nginx-bad99ee0047282fd5a8e5730d440a032eb2452ed.tar.gz nginx-bad99ee0047282fd5a8e5730d440a032eb2452ed.tar.bz2 | |
SSL: reasonable version for LibreSSL.
LibreSSL defines OPENSSL_VERSION_NUMBER to 0x20000000L, but uses an old
API derived from OpenSSL at the time LibreSSL forked. As a result, every
version check we use to test for new API elements in newer OpenSSL versions
requires an explicit check for LibreSSL.
To reduce clutter, redefine OPENSSL_VERSION_NUMBER to 0x1000107fL if
LibreSSL is used. The same is done by FreeBSD port of LibreSSL.
Diffstat (limited to 'auto/lib')
0 files changed, 0 insertions, 0 deletions
