]> git.kaiwu.me - nginx.git/commit
SSL: moved certificate storage out of exdata.
authorSergey Kandaurov <pluknet@nginx.com>
Mon, 9 Sep 2024 15:02:27 +0000 (19:02 +0400)
committerpluknet <pluknet@nginx.com>
Tue, 1 Oct 2024 13:59:24 +0000 (17:59 +0400)
commitf36ff3550a7271a618edb119f064dddd086cc380
tree5ff57ac7a02c274a583b41886ad285177adcc258
parent51857ce40400b48bc8900b9e3930cf7474fa0c41
SSL: moved certificate storage out of exdata.

Instead of cross-linking the objects using exdata, pointers to configured
certificates are now stored in ngx_ssl_t, and OCSP staples are now accessed
with rbtree in it.  This allows sharing these objects between SSL contexts.

Based on previous work by Mini Hawthorne.
src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.h
src/event/ngx_event_openssl_stapling.c