Mercurial > hg > nginx
diff src/event/quic/ngx_event_quic_protection.h @ 9024:f2925c80401c quic
QUIC: avoided pool usage in ngx_quic_protection.c.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Wed, 27 Jul 2022 17:16:40 +0400 |
parents | d8865baab732 |
children | e50f77a2d0b0 |
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic_protection.h +++ b/src/event/quic/ngx_event_quic_protection.h @@ -18,9 +18,9 @@ ngx_quic_keys_t *ngx_quic_keys_new(ngx_pool_t *pool); -ngx_int_t ngx_quic_keys_set_initial_secret(ngx_pool_t *pool, - ngx_quic_keys_t *keys, ngx_str_t *secret); -ngx_int_t ngx_quic_keys_set_encryption_secret(ngx_pool_t *pool, +ngx_int_t ngx_quic_keys_set_initial_secret(ngx_quic_keys_t *keys, + ngx_str_t *secret, ngx_log_t *log); +ngx_int_t ngx_quic_keys_set_encryption_secret(ngx_log_t *log, ngx_uint_t is_write, ngx_quic_keys_t *keys, enum ssl_encryption_level_t level, const SSL_CIPHER *cipher, const uint8_t *secret, size_t secret_len);