]> git.kaiwu.me - nginx.git/commit
SSL: $ssl_curve (ticket #2135).
authorSergey Kandaurov <pluknet@nginx.com>
Mon, 1 Nov 2021 15:09:34 +0000 (18:09 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Mon, 1 Nov 2021 15:09:34 +0000 (18:09 +0300)
commit5c3249964403356601e64ab701f2e563a1f98630
treeb6eaa157a50bb89e75ba60e4f4dd768c9a79021e
parentf3915c33e756f958d9f20641350febf202c0c24d
SSL: $ssl_curve (ticket #2135).

The variable contains a negotiated curve used for the handshake key
exchange process.  Known curves are listed by their names, unknown
ones are shown in hex.

Note that for resumed sessions in TLSv1.2 and older protocols,
$ssl_curve contains the curve used during the initial handshake,
while in TLSv1.3 it contains the curve used during the session
resumption (see the SSL_get_negotiated_group manual page for
details).

The variable is only meaningful when using OpenSSL 3.0 and above.
With older versions the variable is empty.
src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.h
src/http/modules/ngx_http_ssl_module.c
src/stream/ngx_stream_ssl_module.c