]> git.kaiwu.me - 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)
committerSergey Kandaurov <s.kandaurov@f5.com>
Tue, 23 Dec 2025 18:40:33 +0000 (22:40 +0400)
commit2787d67e89ea8642f658d895a37ecb9987abd3f8
treeefeb32c3a51d1690b92a05199e7a5f5098cd55c6
parent4bd5b1b59a2d03a7fb8521970752a9ae3f1d85fe
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