]> git.kaiwu.me - nginx.git/commit
SSL: compatibility with OpenSSL 4.0.
authorSergey Kandaurov <pluknet@nginx.com>
Tue, 10 Mar 2026 12:28:04 +0000 (16:28 +0400)
committerSergey Kandaurov <s.kandaurov@f5.com>
Tue, 31 Mar 2026 08:32:19 +0000 (12:32 +0400)
commit0d025b4a9483b18237243c0aaf9b8d4201aebcd8
tree1731d10228db22163a4ea92ba0d42808a6f5964f
parent390767e6ec87e4957a1da6ba631790ff7e54fd3e
SSL: compatibility with OpenSSL 4.0.

X509_get_issuer_name() and X509_get_subject_name() were changed to return
a const value.  Since it is passed to functions with a non const argument
in older versions, the const modifier is conditionally compiled as needed.

ASN1_INTEGER was made opaque.  ASN1_STRING accessors are used to preserve
the behaviour.  ASN1_STRING_get0_data() compat shim is provided for OpenSSL
< 1.1.0 where it does not exist.
src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.h
src/event/ngx_event_openssl_stapling.c