Mercurial > hg > nginx
comparison src/event/ngx_event_openssl.h @ 7973:3443c02ca1d1
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.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 01 Nov 2021 18:09:34 +0300 |
parents | 65946a191197 |
children | 38c71f9b2293 5c86189a1c1b |
comparison
equal
deleted
inserted
replaced
7972:284f03d6f154 | 7973:3443c02ca1d1 |
---|---|
254 ngx_str_t *s); | 254 ngx_str_t *s); |
255 ngx_int_t ngx_ssl_get_cipher_name(ngx_connection_t *c, ngx_pool_t *pool, | 255 ngx_int_t ngx_ssl_get_cipher_name(ngx_connection_t *c, ngx_pool_t *pool, |
256 ngx_str_t *s); | 256 ngx_str_t *s); |
257 ngx_int_t ngx_ssl_get_ciphers(ngx_connection_t *c, ngx_pool_t *pool, | 257 ngx_int_t ngx_ssl_get_ciphers(ngx_connection_t *c, ngx_pool_t *pool, |
258 ngx_str_t *s); | 258 ngx_str_t *s); |
259 ngx_int_t ngx_ssl_get_curve(ngx_connection_t *c, ngx_pool_t *pool, | |
260 ngx_str_t *s); | |
259 ngx_int_t ngx_ssl_get_curves(ngx_connection_t *c, ngx_pool_t *pool, | 261 ngx_int_t ngx_ssl_get_curves(ngx_connection_t *c, ngx_pool_t *pool, |
260 ngx_str_t *s); | 262 ngx_str_t *s); |
261 ngx_int_t ngx_ssl_get_session_id(ngx_connection_t *c, ngx_pool_t *pool, | 263 ngx_int_t ngx_ssl_get_session_id(ngx_connection_t *c, ngx_pool_t *pool, |
262 ngx_str_t *s); | 264 ngx_str_t *s); |
263 ngx_int_t ngx_ssl_get_session_reused(ngx_connection_t *c, ngx_pool_t *pool, | 265 ngx_int_t ngx_ssl_get_session_reused(ngx_connection_t *c, ngx_pool_t *pool, |