]> git.kaiwu.me - nginx.git/commit
SSL: reasonable version for LibreSSL adjusted.
authorSergey Kandaurov <pluknet@nginx.com>
Mon, 25 Dec 2023 17:15:48 +0000 (21:15 +0400)
committerSergey Kandaurov <pluknet@nginx.com>
Mon, 25 Dec 2023 17:15:48 +0000 (21:15 +0400)
commitf255815f5d161fab0dd310fe826d4f7572e141f2
tree27b61dc5fa379e77c63f1ee82bbaf279572efead
parentd7923960a824d0dd9f4b0c35101e68d71692d1e9
SSL: reasonable version for LibreSSL adjusted.

OPENSSL_VERSION_NUMBER is now redefined to 0x1010000fL for LibreSSL 3.5.0
and above.  Building with older LibreSSL versions, such as 2.8.0, may now
produce warnings (see cab37803ebb3) and may require appropriate compiler
options to suppress them.

Notably, this allows to start using SSL_get0_verified_chain() appeared
in OpenSSL 1.1.0 and LibreSSL 3.5.0, without additional macro tests.

Prodded by Ilya Shipitsin.
src/event/ngx_event_openssl.h
src/event/ngx_event_openssl_stapling.c