]> git.feebdaed.xyz Git - 0xmirror/nginx.git/commit
SSL: fixed testing OPENSSL_VERSION_NUMBER for OpenSSL 3.0+.
authorSergey Kandaurov <pluknet@nginx.com>
Tue, 8 Jul 2025 14:07:04 +0000 (18:07 +0400)
committerpluknet <pluknet@nginx.com>
Thu, 10 Jul 2025 15:00:45 +0000 (19:00 +0400)
commita5ca38f30392e93aadc32cf5955c29fddcaa3871
treedfc89a0f7f6a7de40c99b42b4c879e5703de85e8
parenta5d60c30d3d494291dd7e2ddde4536a439bab5bf
SSL: fixed testing OPENSSL_VERSION_NUMBER for OpenSSL 3.0+.

Prior to OpenSSL 3.0, OPENSSL_VERSION_NUMBER used the following format:

MNNFFPPS: major minor fix patch status

Where the status nibble (S) has 0+ for development and f for release.

The format was changed in OpenSSL 3.0.0, where it is always zero:

MNN00PP0: major minor patch
src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.h