]> git.kaiwu.me - nginx.git/commit
HTTP/3: fixed OpenSSL compatibility layer initialization.
authorSergey Kandaurov <pluknet@nginx.com>
Fri, 24 Mar 2023 15:49:50 +0000 (19:49 +0400)
committerSergey Kandaurov <pluknet@nginx.com>
Fri, 24 Mar 2023 15:49:50 +0000 (19:49 +0400)
commit4d472cd792cc9699e014995c9f41c3e3e048e975
tree101df5222a667b5c3f591712e0cdb495d826f297
parenta5f9b45aee3c2bdbd3fcd4f8fc6b6903b1214705
HTTP/3: fixed OpenSSL compatibility layer initialization.

SSL context is not present if the default server has neither certificates nor
ssl_reject_handshake enabled.  Previously, this led to null pointer dereference
before it would be caught with configuration checks.

Additionally, non-default servers with distinct SSL contexts need to initialize
compatibility layer in order to complete a QUIC handshake.
src/http/modules/ngx_http_ssl_module.c